From 464723fb4351541205e976c4a939cd34dcf0452c Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 28 九月 2025 15:50:36 +0800
Subject: [PATCH] fix: 新增日志

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