diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index a0ada24..038cecd 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -31,15 +31,31 @@ - +
注册 忘记密码
- + 登录 + @@ -66,9 +82,10 @@ const password = ref('') const token = ref() const turnstile = ref() const isPwd = ref(true) -const loading = ref(false) +const loading = ref(true) const route = useRoute() const router = useRouter() +const canLogin = ref(false) const _login = async () => { if (!turnstile.value?.loaded || !token.value) { diff --git a/src/views/Login/VueTurnstile.vue b/src/views/Login/VueTurnstile.vue index 904494e..14553dc 100644 --- a/src/views/Login/VueTurnstile.vue +++ b/src/views/Login/VueTurnstile.vue @@ -2,9 +2,13 @@
-