From bc4a352a2dae42ee57bb2ead87d2338fb6c8710f Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 26 Mar 2024 18:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 33 ++++++++++++++++----------------- manifest.json | 4 ++-- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/App.vue b/App.vue index caa6c0d..75fe13d 100644 --- a/App.vue +++ b/App.vue @@ -120,23 +120,22 @@ if (option?.referrerInfo?.extraData?.uniMP) { uni.setStorageSync('uniMP', option.referrerInfo?.extraData?.uniMP); - this.$isResolve() - // parseToken({ - // token: option.referrerInfo?.extraData?.token - // }).then((res)=>{ - // this.$store.commit("LOGIN", { - // 'token': res.data.token, - // 'time': 604800 - // }); - // this.$isResolve() - // }).catch((err)=>{ - // this.$store.commit("LOGIN", { - // 'token': option.referrerInfo?.extraData?.token, - // 'time': 604800 - // }); - // console.log('TOKEN解析错误:', err); - // this.$isResolve() - // }) + parseToken({ + token: option.referrerInfo?.extraData?.token + }).then((res)=>{ + this.$store.commit("LOGIN", { + 'token': res.data.token, + 'time': 604800 + }); + this.$isResolve() + }).catch((err)=>{ + this.$store.commit("LOGIN", { + 'token': option.referrerInfo?.extraData?.token, + 'time': 604800 + }); + console.log('TOKEN解析错误:', err); + this.$isResolve() + }) }else { this.$isResolve() } diff --git a/manifest.json b/manifest.json index 7e3bd20..e08d817 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "惠农商户平台", "appid" : "__UNI__1EE148C", "description" : "", - "versionName" : "1.4.0", - "versionCode" : 1400, + "versionName" : "1.4.3", + "versionCode" : 1430, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : {