From 0ef755133054cb0edc9455803c7b7bd23f563aa8 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 16:51:34 +0800
Subject: [PATCH] fix: s

---
 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