.env | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/store/modules/user.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.env
@@ -8,7 +8,7 @@ VITE_OPEN=false # 请求路径 VITE_BASE_URL='http://localhost:8088' VITE_BASE_URL='http://localhost:48080' # 平台路径 VITE_PLAT_URL='http://localhost:48080' src/store/modules/user.ts
@@ -63,7 +63,8 @@ } const userInfo = await getInfo() const appInfo = await getAppInfo() this.permissions = userInfo.permissions this.permissions = userInfo.permissions.concat(appInfo.permissions) userInfo.permissions = userInfo.permissions.concat(appInfo.permissions) this.roles = userInfo.roles this.user = userInfo.user this.isSetUser = true