Commit 09f6fcb4 by 李嘉林

优化

parent a6def72f
...@@ -397,14 +397,13 @@ export default { ...@@ -397,14 +397,13 @@ export default {
if(res.data.code == '200'){ if(res.data.code == '200'){
this.page = res.data.data.pageUri; this.page = res.data.data.pageUri;
let sceneObj = JSON.parse(res.data.data.scene); let sceneObj = JSON.parse(res.data.data.scene);
this.h5Params = sceneObj;
if(sceneObj.spokesmanRelId){ if(sceneObj.spokesmanRelId){
wx.setStorage({ wx.setStorage({
key: "becomeInfo", key: "becomeInfo",
data: JSON.stringify(sceneObj) data: JSON.stringify(sceneObj)
}); });
} }
let paramsObj = sceneObj && sceneObj.params ? JSON.parse(decodeURIComponent(sceneObj.params)) : {}; let paramsObj = sceneObj && sceneObj.params ? JSON.parse(decodeURIComponent(sceneObj.params)) : sceneObj;
this.h5Params = paramsObj; this.h5Params = paramsObj;
console.log('app-mounted-paramsObj', paramsObj) console.log('app-mounted-paramsObj', paramsObj)
if (paramsObj.offlineShopCode) { if (paramsObj.offlineShopCode) {
......
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