diff --git a/src/components/layouts/fa-header-bar/index.vue b/src/components/layouts/fa-header-bar/index.vue index d672e65..d388b45 100644 --- a/src/components/layouts/fa-header-bar/index.vue +++ b/src/components/layouts/fa-header-bar/index.vue @@ -175,7 +175,7 @@ /> - + diff --git a/src/components/views/fa-login/forms/FaLoginAccountForm.vue b/src/components/views/fa-login/forms/FaLoginAccountForm.vue index 0595369..522f7ef 100644 --- a/src/components/views/fa-login/forms/FaLoginAccountForm.vue +++ b/src/components/views/fa-login/forms/FaLoginAccountForm.vue @@ -96,30 +96,6 @@ - - @@ -302,9 +241,6 @@ function setAuthPanel(panel: AuthPanel) { // } // } -const dragVerifyTextColor = computed(() => - isDark.value ? "rgba(255, 255, 255, 0.45)" : "var(--fa-gray-700)" -); const formKey = ref(0); watch(locale, () => { @@ -316,9 +252,6 @@ watch(authPanel, (panel) => { if (loginFlowMode.value !== "account") return; getCaptcha(); loginForm.captcha = ""; - accountFormRef.value?.resetDragVerify?.(); - isPassing.value = false; - isClickPass.value = false; }); const accounts = computed(() => [ @@ -349,9 +282,6 @@ const demoAccountKey = ref("super"); const userStore = useUserStore(); const router = useRouter(); const route = useRoute(); -const isPassing = ref(false); -const isClickPass = ref(false); - const accountFormRef = ref | null>(null); const registerPanelRef = ref | null>(null); const forgetPanelRef = ref | null>(null); @@ -561,9 +491,8 @@ onMounted(async () => { return; } if (configStore.configData.captcha_enable?.config_value === "true") { - // getCaptcha(); + getCaptcha(); } - getCaptcha(); // voteTimer = setTimeout(showVoteNotification, 500); }); @@ -595,10 +524,6 @@ const handleSubmit = async () => { const valid = await accountFormRef.value.validate?.(); if (!valid) return; - if (!isPassing.value) { - isClickPass.value = true; - return; - } loading.value = true; @@ -620,7 +545,6 @@ const handleSubmit = async () => { } } finally { loading.value = false; - accountFormRef.value?.resetDragVerify?.(); } };