From fb7bca27eb17aedf33fe5a1e9be63eb43ec299eb Mon Sep 17 00:00:00 2001 From: QianRj <14974713+qianrj@user.noreply.gitee.com> Date: 星期四, 06 二月 2025 20:20:40 +0800 Subject: [PATCH] fix 修复 路由守卫白名单通配符正则覆盖问题 --- src/views/system/user/profile/thirdParty.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/profile/thirdParty.vue b/src/views/system/user/profile/thirdParty.vue index ad090c4..5cd7347 100644 --- a/src/views/system/user/profile/thirdParty.vue +++ b/src/views/system/user/profile/thirdParty.vue @@ -58,7 +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"; +import useUserStore from '@/store/modules/user'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; @@ -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