Remove dead refs and empty focus handlers from LoginPage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 14:00:24 +08:00
parent 2710910829
commit 69d31c6c8b

View File

@@ -25,7 +25,6 @@
autofocus
v-model.trim="auth.username"
@change="changeHandler($event)"
@focus="onInputAccountFocus"
/>
</label>
<label for="passwordt" class="relative block">
@@ -44,7 +43,6 @@
required
v-model.trim="auth.password"
@change="changeHandler($event)"
@focus="onInputPwdFocus"
/>
<span
class="absolute bottom-2 right-4 inline-flex items-center cursor-pointer"
@@ -106,7 +104,6 @@ const { auth, isInvalid } = storeToRefs(store);
const { signIn, setRememberedReturnToUrl } = store;
// Data
const isDisabled = ref(true);
const showPassword = ref(false);
const isJustFocus = ref(true);
@@ -129,10 +126,6 @@ function changeHandler(event) {
}
}
function onInputAccountFocus() {}
function onInputPwdFocus() {}
// Created logic
// Handle the case where a user pastes a page URL into the browser without being logged in
// btoa: Base64-encode the string