From 8bd549c42f20faeedd0f2f1264e2f5003f2db3db Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 21 三月 2025 13:15:08 +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