mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 17:24:26 +08:00
code refactor
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
:disabled="logining || verifying"
|
||||
:label="tt('Passcode')"
|
||||
:placeholder="tt('Passcode')"
|
||||
:append-inner-icon="icons.backupCode"
|
||||
:append-inner-icon="mdiHelpCircleOutline"
|
||||
v-model="passcode"
|
||||
@click:append-inner="twoFAVerifyType = 'backupcode'"
|
||||
@keyup.enter="verify"
|
||||
@@ -77,7 +77,7 @@
|
||||
:disabled="logining || verifying"
|
||||
:label="tt('Backup Code')"
|
||||
:placeholder="tt('Backup Code')"
|
||||
:append-inner-icon="icons.passcode"
|
||||
:append-inner-icon="mdiOnepassword"
|
||||
v-model="backupCode"
|
||||
@click:append-inner="twoFAVerifyType = 'passcode'"
|
||||
@keyup.enter="verify"
|
||||
@@ -217,11 +217,6 @@ const {
|
||||
doAfterLogin
|
||||
} = useLoginPageBase();
|
||||
|
||||
const icons = {
|
||||
passcode: mdiOnepassword,
|
||||
backupCode: mdiHelpCircleOutline
|
||||
};
|
||||
|
||||
const passwordInput = useTemplateRef<VTextField>('passwordInput');
|
||||
const passcodeInput = useTemplateRef<VTextField>('passcodeInput');
|
||||
const snackbar = useTemplateRef<SnackBarType>('snackbar');
|
||||
|
||||
Reference in New Issue
Block a user