mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 00:49:49 +08:00
【优化】优化当用户数据被删除,小程序前端token时间有效但是用户数据为空的情况下,页面出现undefined的情况。
This commit is contained in:
@@ -101,6 +101,7 @@ module.exports = (vm) => {
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN || MP-ALIPAY || MP-TOUTIAO
|
||||
db.del("userToken");
|
||||
vm.$store.commit('userInfo', null);
|
||||
//console.log("开启登录弹窗");
|
||||
vm.$store.commit('hasLogin', false);
|
||||
// #endif
|
||||
|
||||
Reference in New Issue
Block a user