From c89223e74b0a00094639c24bd16c7f3995632f5c Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 12 七月 2024 15:58:46 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/store/modules/user.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/store/modules/user.js b/Source/plt-web/plt-web-ui/src/store/modules/user.js index cc12802..fbbaba8 100644 --- a/Source/plt-web/plt-web-ui/src/store/modules/user.js +++ b/Source/plt-web/plt-web-ui/src/store/modules/user.js @@ -65,6 +65,9 @@ loginByUsername(userInfo.deptId, userInfo.roleId, userInfo.username, userInfo.password, userInfo.type, userInfo.key,).then(res => { const data = res.data; if (data.code === 200) { + // commit('SET_TOKEN', data.obj.sessionInfo.token); + // commit('SET_REFRESH_TOKEN', data.obj.sessionInfo.token); + commit('SET_TOKEN', data.obj.tokenVO.accessToken); commit('SET_REFRESH_TOKEN', data.obj.tokenVO.accessToken); commit('DEL_ALL_TAG'); -- Gitblit v1.9.3