fix: freeze listing in the background when previewing Files.vue

This commit is contained in:
niubility000 2024-02-16 08:12:16 +08:00 committed by GitHub
parent 7f416f28c7
commit 114d91251d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,7 +97,6 @@ export default {
},
mounted() {
window.addEventListener("keydown", this.keyEvent);
window.sessionStorage.setItem('listFrozen',"false");
},
beforeDestroy() {
window.removeEventListener("keydown", this.keyEvent);