This commit is contained in:
weipengfei 2024-03-26 18:07:58 +08:00
parent 2244c6edac
commit bc4a352a2d
2 changed files with 18 additions and 19 deletions

33
App.vue
View File

@ -120,23 +120,22 @@
if (option?.referrerInfo?.extraData?.uniMP) { if (option?.referrerInfo?.extraData?.uniMP) {
uni.setStorageSync('uniMP', option.referrerInfo?.extraData?.uniMP); uni.setStorageSync('uniMP', option.referrerInfo?.extraData?.uniMP);
this.$isResolve() parseToken({
// parseToken({ token: option.referrerInfo?.extraData?.token
// token: option.referrerInfo?.extraData?.token }).then((res)=>{
// }).then((res)=>{ this.$store.commit("LOGIN", {
// this.$store.commit("LOGIN", { 'token': res.data.token,
// 'token': res.data.token, 'time': 604800
// 'time': 604800 });
// }); this.$isResolve()
// this.$isResolve() }).catch((err)=>{
// }).catch((err)=>{ this.$store.commit("LOGIN", {
// this.$store.commit("LOGIN", { 'token': option.referrerInfo?.extraData?.token,
// 'token': option.referrerInfo?.extraData?.token, 'time': 604800
// 'time': 604800 });
// }); console.log('TOKEN解析错误:', err);
// console.log('TOKEN:', err); this.$isResolve()
// this.$isResolve() })
// })
}else { }else {
this.$isResolve() this.$isResolve()
} }

View File

@ -2,8 +2,8 @@
"name" : "惠农商户平台", "name" : "惠农商户平台",
"appid" : "__UNI__1EE148C", "appid" : "__UNI__1EE148C",
"description" : "", "description" : "",
"versionName" : "1.4.0", "versionName" : "1.4.3",
"versionCode" : 1400, "versionCode" : 1430,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {