mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
管理端和商家端userInfo字段名变更,管理端会员详情,他的积分字段调整
This commit is contained in:
@@ -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) {
|
||||
// 第一次加载 读取数据
|
||||
|
||||
Reference in New Issue
Block a user