mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 16:54:25 +08:00
fix error message dialog can be shown multi times
This commit is contained in:
@@ -59,10 +59,17 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
unlock() {
|
unlock() {
|
||||||
|
const app = this.$f7;
|
||||||
|
const $$ = app.$;
|
||||||
|
|
||||||
if (!this.pinCodeValid) {
|
if (!this.pinCodeValid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($$('.modal-in').length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const router = this.$f7router;
|
const router = this.$f7router;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user