mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2025-12-08 17:12:28 +08:00
3.7.1版本发布
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user