Commit a9d191d6 by 谢中龙

修改优化字段

parent 6eceacf5
...@@ -64,6 +64,8 @@ wxService.page({ ...@@ -64,6 +64,8 @@ wxService.page({
this.setData({ this.setData({
showTempalteModal : false showTempalteModal : false
}); });
let activityId = this.data.id;
this.setLocalStorageByKey(activityId);
}, },
//确认弹出订阅消息框 //确认弹出订阅消息框
...@@ -112,6 +114,8 @@ wxService.page({ ...@@ -112,6 +114,8 @@ wxService.page({
}); });
}) })
}); });
this.setLocalStorageByKey(activityId);
}, },
// 集点详情 // 集点详情
...@@ -414,7 +418,6 @@ wxService.page({ ...@@ -414,7 +418,6 @@ wxService.page({
this.setData({ this.setData({
showTempalteModal : true showTempalteModal : true
}); });
this.setLocalStorageByKey(activityId);
} }
}, },
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useCompilerModule": false "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.2", "libVersion": "2.8.2",
......
...@@ -188,7 +188,7 @@ class Http { ...@@ -188,7 +188,7 @@ class Http {
content: '请求数据超时' content: '请求数据超时'
}) })
} }
if (error.msg && error.msg !='该用户尚未登录'){ if (error.msg && error.msg !='登录已失效'){
setTimeout(() => { setTimeout(() => {
wx.showToast({ wx.showToast({
title: `${error.msg}`, title: `${error.msg}`,
...@@ -197,7 +197,7 @@ class Http { ...@@ -197,7 +197,7 @@ class Http {
}) })
}) })
} }
console.log(JSON.stringify(error))
return Promise.reject(error) return Promise.reject(error)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment