From 6ab4b1e0b68e4c347110e37018fa005603f53904 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期二, 29 九月 2026 23:49:04 +0800
Subject: [PATCH] ai优化
---
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