紧急修复了一些bug

This commit is contained in:
张乐
2020-08-17 15:28:28 +08:00
parent 05cc87969a
commit 3c9caa8b50
122 changed files with 1235 additions and 3297 deletions

View File

@@ -221,8 +221,8 @@
});
const backUrl = that.$Cache.get(BACK_URL) || "/pages/index/index";
that.$Cache.clear(BACK_URL);
getUserInfo().then(res => {
that.$store.commit("SETUID", res.data.uid);
// getUserInfo().then(res => {
that.$store.commit("SETUID", res.data.user.uid);
if (backUrl === '/pages/index/index' || backUrl === '/pages/order_addcart/order_addcart' || backUrl ===
'/pages/user/index') {
@@ -235,7 +235,7 @@
url: '/pages/index/index'
});
}
})
// })
})
.catch(res => {
that.$util.Tips({