freezing list Files.vue

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

View File

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