From a5931a78f6fcf1da2dc5a3bfa243397d01acb6a6 Mon Sep 17 00:00:00 2001
From: admin_lijinfu <lijinfu@outlook.com>
Date: 星期日, 24 十一月 2024 21:49:13 +0800
Subject: [PATCH] perf: permission loadView避免整个modules循环,允许view中间有views文件夹

---
 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..5cd7347 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;
 
@@ -83,7 +84,7 @@
 };
 
 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;
     } else {

--
Gitblit v1.9.3