From c206ab5b4a38f99bec4ee34d7b01bbabc83fa120 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 19 六月 2024 14:29:44 +0800 Subject: [PATCH] update 优化 三方登录不同域名问题 采用新方案 --- src/views/system/user/profile/thirdParty.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index ad090c4..957122a 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -84,9 +84,9 @@ }; const authUrl = (source: string) => { - authBinding(source).then((res: any) => { + authBinding(source, useUserStore().tenantId).then((res: any) => { if (res.code === 200) { - window.location.href = res.data + '&tenantId=' + useUserStore().tenantId + '&domain=' + window.location.host; + window.location.href = res.data; } else { proxy?.$modal.msgError(res.msg); } -- Gitblit v1.9.3