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');