add about page

This commit is contained in:
MaysWind
2020-10-31 20:37:16 +08:00
parent 8967485c60
commit ad15f99068
7 changed files with 155 additions and 0 deletions
+6
View File
@@ -118,6 +118,9 @@ new Vue({
window.addEventListener('popstate', () => {
if (document.querySelectorAll('.modal-in').length > 0) {
app.dialog.close();
app.sheet.close();
app.popup.close();
return false;
}
}, false);
@@ -125,6 +128,9 @@ 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;
}
}
}, false);