From 513bd914b8b19c720e0209170fc84b0913234b9e Mon Sep 17 00:00:00 2001 From: xlsea Date: Mon, 9 Sep 2024 11:12:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(preview):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=BC=BA=E5=88=B6star=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/_builtin/login/modules/pwd-login.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/_builtin/login/modules/pwd-login.vue b/src/views/_builtin/login/modules/pwd-login.vue index f3fec54..ac156c2 100644 --- a/src/views/_builtin/login/modules/pwd-login.vue +++ b/src/views/_builtin/login/modules/pwd-login.vue @@ -40,7 +40,7 @@ async function handleSubmit() { } const codeShow = ref(false); -const starred = ref(false); +const starred = ref(true); const validateCode = async () => { if (!starred.value) { @@ -194,6 +194,7 @@ onUnmounted(() => { }); async function init() { + if (starred.value) return; await oauth2(); await userStarred(); }