From ec837d5a83494a81f4b48f66c6e3ef005b70940c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 11 十一月 2025 15:20:43 +0800
Subject: [PATCH] fix: bug
---
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