From 83c7e9e4f880128e5471c8ecfdc3f896f1144d92 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 18 六月 2024 16:50:30 +0800 Subject: [PATCH] 修改项目请求头token传参方式-取消登录页选择租户 --- Source/plt-web/plt-web-ui/src/store/modules/user.js | 2 +- 1 files changed, 1 insertions(+), 1 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 2506220..c34bb5c 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.tenantId, 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.tokenVO.accessToken); -- Gitblit v1.9.3