From 59cb3ebc6e34f70a4ea44edc492d171832f16dcf Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 22 Nov 2020 16:23:56 +0800 Subject: [PATCH] fix error message dialog can be shown multi times --- src/views/mobile/Unlock.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/mobile/Unlock.vue b/src/views/mobile/Unlock.vue index 7bcd6553..33396663 100644 --- a/src/views/mobile/Unlock.vue +++ b/src/views/mobile/Unlock.vue @@ -59,10 +59,17 @@ export default { }, methods: { unlock() { + const app = this.$f7; + const $$ = app.$; + if (!this.pinCodeValid) { return; } + if ($$('.modal-in').length) { + return; + } + const router = this.$f7router; try {