update 更换三方回调方案
This commit is contained in:
@ -194,7 +194,7 @@ const doSocialLogin = (type: string) => {
|
||||
authBinding(type).then((res: any) => {
|
||||
if (res.code === HttpStatus.SUCCESS) {
|
||||
// 获取授权地址跳转
|
||||
window.location.href = res.data + '&tenantId=' + loginForm.value.tenantId;
|
||||
window.location.href = res.data + '&tenantId=' + loginForm.value.tenantId + '&domain=' + window.location.host;
|
||||
} else {
|
||||
ElMessage.error(res.msg);
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ const unlockAuth = (row: any) => {
|
||||
const authUrl = (source: string) => {
|
||||
authBinding(source).then((res: any) => {
|
||||
if (res.code === 200) {
|
||||
window.location.href = res.data + '&tenantId=' + useUserStore().tenantId;
|
||||
window.location.href = res.data + '&tenantId=' + useUserStore().tenantId + '&domain=' + window.location.host;
|
||||
} else {
|
||||
proxy?.$modal.msgError(res.msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user