From fe2c38273024c74f28e59c24c867eb67c841be16 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 11 四月 2025 11:35:10 +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