refactor(projects): mock权限相关数据优化

This commit is contained in:
Soybean
2022-04-26 00:12:20 +08:00
parent 5c75e9d958
commit 41e46a5d80
12 changed files with 915 additions and 17 deletions

View File

@ -37,7 +37,7 @@ export function getUserInfo() {
userId: '',
userName: '',
userPhone: '',
userRole: 'normal'
userRole: 'user'
};
const userInfo: Auth.UserInfo = getLocal<Auth.UserInfo>(EnumStorageKey['user-info']) || emptyInfo;
return userInfo;