From a90276a242ddca6f45e234c5cc4832a7a01a7e03 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期一, 02 十二月 2024 11:06:53 +0800
Subject: [PATCH] Fix Bug: 条码更新问题

---
 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