From de8f8ef6e87ebf0d207011b35a7f43e41200011d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 05 六月 2025 13:52:46 +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