From 180a6b9c34a95430bd91e91ac72d5b7abdbf7f4c Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 27 十二月 2024 23:04:34 +0800
Subject: [PATCH] 关闭页面登出 ||
---
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