Commit 57d1154d authored by Mac's avatar Mac

提交

parent 9db20d9d
......@@ -207,9 +207,7 @@ export default {
}
}
let mall_UserInfo = uni.getStorageSync("mall_UserInfo");
if(mall_UserInfo){//进入页面时 判断登录缓存里是否是校园模式
this.IsOpenSchool = mall_UserInfo.UserPageType==2?1:0
}
if (options && options.Up) {//校园id
uni.setStorageSync("Up", { Up: options.Up });
this.IsOpenSchool = options.Up==2?1:0//分享进来是否是校园模式
......@@ -225,6 +223,9 @@ export default {
this.IsOpenSchool = custom_params.Up==2?1:0//分享进来是否是校园模式
}
}
if(mall_UserInfo && mall_UserInfo.UserPageType){//进入页面时 判断登录缓存里是否是校园模式
this.IsOpenSchool = mall_UserInfo.UserPageType==2?1:0
}
if (options && options.user_id) {
uni.setStorageSync("pid", { pid: options.user_id });
}
......
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