From 9f13c29cd7c196203f25e2681a8fe2e4b912a76b Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期三, 04 九月 2024 16:16:46 +0800
Subject: [PATCH] update 优化 代码生成菜单id匹配写法

---
 src/views/login.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/login.vue b/src/views/login.vue
index 02c7d77..ca2903f 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -191,10 +191,10 @@
  * @param type
  */
 const doSocialLogin = (type: string) => {
-  authBinding(type).then((res: any) => {
+  authBinding(type, loginForm.value.tenantId).then((res: any) => {
     if (res.code === HttpStatus.SUCCESS) {
       // 鑾峰彇鎺堟潈鍦板潃璺宠浆
-      window.location.href = res.data + '&tenantId=' + loginForm.value.tenantId + '&domain=' + window.location.host;
+      window.location.href = res.data;
     } else {
       ElMessage.error(res.msg);
     }

--
Gitblit v1.9.3