Remove dead refs and empty focus handlers from LoginPage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user