From dab59f7624a2fb8d4114bb67b554ff09d91f810c Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 四月 2025 13:07:36 +0800 Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable --- 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