app
wangxia 5 months ago
parent 65ac81cf93
commit 4f3f522d20

@ -769,7 +769,7 @@ export default {
}, },
goOrder(e) { goOrder(e) {
console.log("e", e); console.log("e", e);
uni.setStorageSync("applyType", e.item.type); uni.setStorageSync("applyType", e.item.type ? e.item.type : 0);
uni.switchTab({ uni.switchTab({
url: "/pages/workBench/index", url: "/pages/workBench/index",
success: (res) => {}, success: (res) => {},

@ -186,7 +186,7 @@ export default {
that.isLogin = uni.getStorageSync("apply-token") ? true : false; that.isLogin = uni.getStorageSync("apply-token") ? true : false;
console.log("that.isLogin", that.isLogin); console.log("that.isLogin", that.isLogin);
that.loginInfo = uni.getStorageSync("apply-userinfo"); that.loginInfo = uni.getStorageSync("apply-userinfo");
if (uni.getStorageSync("applyType")) { if (uni.getStorageSync("applyType")||uni.getStorageSync("applyType") === 0) {
that.menuActive = uni.getStorageSync("applyType"); that.menuActive = uni.getStorageSync("applyType");
uni.removeStorageSync("applyType"); uni.removeStorageSync("applyType");
} }

Loading…
Cancel
Save