From cb795c5827f6e7c0e4d2c1358f27d0862f502b5b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 06 八月 2025 11:22:55 +0800
Subject: [PATCH] fix: 修改功能模块

---
 src/store/modules/user.ts |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 85c8aae..a0f709d 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -42,9 +42,10 @@
       return state.userInfo;
     },
 
-    // userId(state) {
-    //   return state.accountInfo.sub;
-    // },
+    userId(state) {
+      //TODO
+      return '';
+    },
   },
   actions: {
     setToken(token: string) {
@@ -62,8 +63,8 @@
         {
           ...params,
           password: md5Encrypt(params.password),
-          type: EnumUserType.Operation,
-          clientType: EnumClientType.PcWeb,
+          type: AppLocalConfig.userType,
+          clientType: AppLocalConfig.clientType,
         },
         {
           showLoading: false,

--
Gitblit v1.9.1