3.7.1版本发布

This commit is contained in:
JEECG
2024-09-10 15:40:34 +08:00
parent 17c68f6d53
commit 13cb18b707
106 changed files with 2832 additions and 1721 deletions

View File

@ -357,7 +357,10 @@ export const useUserStore = defineStore({
try {
const { goHome = true, mode, ...ThirdLoginParams } = params;
const data = await thirdLogin(ThirdLoginParams, mode);
const { token } = data;
//update-begin---author:wangshuai---date:2024-07-01---for:【issues/6652】开启租户数据隔离接入钉钉后登录默认租户为0了---
const { token, userInfo } = data;
this.setTenant(userInfo?.loginTenantId);
//update-end---author:wangshuai---date:2024-07-01---for:【issues/6652】开启租户数据隔离接入钉钉后登录默认租户为0了---
// save token
this.setToken(token);
return this.afterLoginAction(goHome, data);