From f4b90cc4280809e8b69bb1a7617e3e7b7a6d5920 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 10 四月 2025 16:17:15 +0800 Subject: [PATCH] update --- src/store/modules/user.ts | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index b386180..379eb10 100644 --- a/src/store/modules/user.ts +++ b/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() { -- Gitblit v1.9.3