code refactor

This commit is contained in:
MaysWind
2020-10-31 22:19:30 +08:00
parent 40f86e4ce6
commit 5848292ed8
4 changed files with 8 additions and 7 deletions
-2
View File
@@ -128,8 +128,6 @@ new Vue({
if (event.key === 'Escape' || event.key === 'Esc' || event.keyCode === 27 || event.which === 27) {
if (document.querySelectorAll('.modal-in').length > 0) {
app.dialog.close();
app.sheet.close();
app.popup.close();
return false;
}
}