管理端和商家端userInfo字段名变更,管理端会员详情,他的积分字段调整

This commit is contained in:
mabo
2021-08-04 17:51:43 +08:00
parent 726ae1f856
commit 0387ac510a
22 changed files with 44 additions and 47 deletions

View File

@@ -318,11 +318,11 @@ util.initRouter = function (vm) { // 初始化路由
component: 'error-page/404'
}];
// 判断用户是否登录
let userInfo = Cookies.get('userInfo')
// if (!userInfo) {
// // 未登录
// return;
// }
let userInfo = Cookies.get('userInfoSeller')
if (!userInfo) {
// 未登录
return;
}
if (!vm.$store.state.app.added) {
// 第一次加载 读取数据