From a59baf2f9f6dead123e010bbe5cec3711787079e Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 19 Dec 2020 01:22:37 +0800 Subject: [PATCH] optimize ui --- src/views/mobile/Login.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/mobile/Login.vue b/src/views/mobile/Login.vue index b569d957..89970895 100644 --- a/src/views/mobile/Login.vue +++ b/src/views/mobile/Login.vue @@ -66,7 +66,7 @@
{{ $t('Two-Factor Authentication') }}
- + @@ -240,6 +242,10 @@ export default { const self = this; const router = self.$f7router; + if (self.twoFAInputIsEmpty || self.verifying) { + return; + } + if (this.twoFAVerifyType === 'passcode' && !this.passcode) { self.$alert('Passcode cannot be empty'); return;