From 63b2432286110be1f270672a223c8fb9ddc24233 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期三, 21 五月 2025 11:39:39 +0800 Subject: [PATCH] 修改 点检-作业指导书 --- store/index.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/store/index.js b/store/index.js index 0a8a527..4d6b657 100644 --- a/store/index.js +++ b/store/index.js @@ -38,6 +38,7 @@ const userInfo = result.userInfo uni.setStorageSync(ACCESS_TOKEN,result.token); uni.setStorageSync("isLogin",true); + uni.setStorageSync("userId", userInfo.id); uni.setStorageSync(USER_INFO,userInfo); commit('SET_TOKEN', result.token) commit('SET_AVATAR', userInfo.avatar) -- Gitblit v1.9.3