From b983fdb4765f32a910a1703447de42361f07cd7f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Sun, 04 Jan 2026 16:47:28 +0800
Subject: [PATCH] 修改
---
src/store/modules/user.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/user.js b/src/store/modules/user.js
index 065f3a6..9900234 100644
--- a/src/store/modules/user.js
+++ b/src/store/modules/user.js
@@ -47,6 +47,7 @@
this.id = user.userId
this.name = user.userName
this.avatar = avatar
+ Cookies.set('userInfo',JSON.stringify(user))
resolve(res)
}).catch(error => {
reject(error)
--
Gitblit v1.9.2