From e6a21130e1fa5d22a42001a79ca141e093a8b001 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 24 六月 2024 18:08:05 +0800 Subject: [PATCH] 添加自定义弹出拖拽指令&上传文件下载文件action配置以及页面编写&创建默认表格option配置&表格加上自定义宽度 --- 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