From 1f2add4b6bece17ed26a4816f447a4e00f22192d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 19 六月 2024 10:11:32 +0800 Subject: [PATCH] update 更换三方回调方案 --- src/views/system/user/profile/thirdParty.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index 40daa86..ad090c4 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -58,6 +58,7 @@ <script lang="ts" setup> import { authUnlock, authBinding } from '@/api/system/social/auth'; import { propTypes } from '@/utils/propTypes'; +import useUserStore from "@/store/modules/user"; const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -85,7 +86,7 @@ const authUrl = (source: string) => { authBinding(source).then((res: any) => { if (res.code === 200) { - window.location.href = res.data; + window.location.href = res.data + '&tenantId=' + useUserStore().tenantId + '&domain=' + window.location.host; } else { proxy?.$modal.msgError(res.msg); } -- Gitblit v1.9.3