From 386f7e24fb132deacb829a86aeb723dd1d1172eb Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 16 七月 2024 14:13:46 +0800 Subject: [PATCH] 修改密码调用接口 登录添加过期提醒 登录框中英文切换不显示bug --- Source/plt-web/plt-web-ui/src/store/modules/user.js | 4 ++-- 1 files changed, 2 insertions(+), 2 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 fbbaba8..9aef2f5 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 @@ -62,7 +62,7 @@ //鏍规嵁鐢ㄦ埛鍚嶇櫥褰� LoginByUsername({commit}, userInfo) { return new Promise((resolve, reject) => { - loginByUsername(userInfo.deptId, userInfo.roleId, userInfo.username, userInfo.password, userInfo.type, userInfo.key,).then(res => { + 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); @@ -86,7 +86,7 @@ type: 'error' }) } - resolve(); + resolve(data); }).catch(error => { reject(error); }) -- Gitblit v1.9.3