From 1a7bb09ed0e74ba2b7349a6e015faa0e6d9fc6f5 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 02 十二月 2025 13:18:17 +0800
Subject: [PATCH] fix: 谢绝

---
 src/store/modules/user.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 271d314..9358c34 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -50,7 +50,7 @@
     },
 
     userId(state) {
-      return '';
+      return state.userDetail?.id;
     },
   },
   actions: {
@@ -77,6 +77,7 @@
           // password: md5Encrypt(params.password),
           type: AppLocalConfig.userType,
           clientType: AppLocalConfig.clientType,
+          enterpriseType: AppLocalConfig.enterpriseType,
         },
         {
           showLoading: false,

--
Gitblit v1.9.1