From a55c126aa89fb24565982ca274d87444b69a6a9a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 26 九月 2025 13:28:43 +0800
Subject: [PATCH] fix: bug

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

diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 271d314..91a830c 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: {

--
Gitblit v1.9.1