src/store/modules/user.ts
@@ -6,7 +6,7 @@ const { wsCache } = useCache() interface UserVO { export interface UserVO { id: number avatar: string nickname: string @@ -30,8 +30,8 @@ id: 0, avatar: '', nickname: '', deptId: 0 } deptId: 0, }, }), getters: { getPermissions(): string[] { @@ -45,7 +45,7 @@ }, getUser(): UserVO { return this.user } }, }, actions: { async setUserInfoAction() {