From 539b538d5a47c179169ce677b05ae6ed98b1f281 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期二, 13 一月 2026 11:12:51 +0800
Subject: [PATCH] 去除提交的多余字符
---
src/views/logindemo.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/views/logindemo.vue b/src/views/logindemo.vue
index 6e71c49..1798948 100644
--- a/src/views/logindemo.vue
+++ b/src/views/logindemo.vue
@@ -13,10 +13,9 @@
computed: {},
methods: {
async goLogin() {
- const {
- data: { data }
- } = await getSsoAuthUrl()
- window.location.href = data
+ await getSsoAuthUrl().then(res => {
+ window.location.href = res.data
+ })
}
}
}
--
Gitblit v1.9.3