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 }) } } }