From 6ec4ab163cff16c7ce0f4822efc224abe8e85410 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 三月 2025 09:51:00 +0800
Subject: [PATCH] 合并
---
src/views/login.vue | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/views/login.vue b/src/views/login.vue
index 2590586..50ed177 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -38,7 +38,7 @@
<router-link class="link-type" :to="'/register'">绔嬪嵆娉ㄥ唽</router-link>
</div>
</el-form-item>
- <el-button v-if="false" type="primary" plain @click="goLogin">闆嗗洟闆嗘垚鐧诲綍</el-button>
+ <!-- <el-button v-if="false" type="primary" plain @click="goLogin">闆嗗洟闆嗘垚鐧诲綍</el-button> -->
</el-form>
</div>
<!-- 搴曢儴 -->
@@ -96,11 +96,9 @@
},
methods: {
async goLogin() {
- const {
- data: { data },
- } = await getSsoAuthUrl()
- window.location.href = data
- // this.$router.push({ path: '/thirdpartylogin' })
+ await getSsoAuthUrl().then(res => {
+ window.location.href = res.data
+ })
},
getCode() {
getCodeImg().then(res => {
--
Gitblit v1.9.3