From cb2a01ee7dea28a2661720060b03c41dc372acb5 Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期五, 01 八月 2025 11:53:16 +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