From c80ead445a26d71f4a09ffc8f9afb1fd0b91f219 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 06 十一月 2025 09:39:14 +0800
Subject: [PATCH] feat: 1.3.0.1
---
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