Переглянути джерело

Merge branch '线上版本' of http://121.40.253.172:3000/longyong/jsh_erp_app into 线上版本

hi 4 тижнів тому
батько
коміт
8401ba9775
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      App.vue
  2. 1 1
      pages/index/index.vue

+ 1 - 1
App.vue

@@ -8,7 +8,7 @@ export default {
 		uni.setStorageSync('downloadApkParams', null);
 		console.log('onLaunch')
 		// 检测客户端更新
-		// this.$store.dispatch('update/update', 0)
+		this.$store.dispatch('update/update', 0)
 	},
 	onShow() {
 		// #ifdef APP-PLUS

+ 1 - 1
pages/index/index.vue

@@ -111,7 +111,7 @@
 		},
 		methods: {
 			toUpdate() {
-				const params = this.$store.state.downloadApkParams
+				const params = this.$store.state.update.downloadApkParams
 				const url = this.$BASE_URL + '/pda/downloadApk'
 				console.log(url,'url')
 				downloadApkWithJsonPost(url, params)