From 142effd4f2c4dad7d611ee11136fc09aa3e3b583 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 30 六月 2024 16:13:16 +0800 Subject: [PATCH] !130 feat: 动态创建组件实例时, 设置路由name为组件名 解决缓存问题 Merge pull request !130 from 玲娜贝er/dev --- 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