update 更换三方回调方案

This commit is contained in:
疯狂的狮子Li
2024-06-19 10:11:32 +08:00
parent 3b254cc16b
commit 1f2add4b6b
3 changed files with 13 additions and 9 deletions

View File

@ -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);
}