fix: convert onBeforeUnmount to beforeUnmount hook

pull/6630/head
KumJungMin 2024-10-23 21:59:36 +09:00
parent 3ac1ff77ee
commit 656ac72dd4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ export default {
this.resize(); this.resize();
} }
}, },
onBeforeUnmount() { beforeUnmount() {
if (this.observer) { if (this.observer) {
this.observer.disconnect(); this.observer.disconnect();
} }