fix: convert onBeforeUnmount to beforeUnmount hook
parent
3ac1ff77ee
commit
656ac72dd4
|
@ -27,7 +27,7 @@ export default {
|
|||
this.resize();
|
||||
}
|
||||
},
|
||||
onBeforeUnmount() {
|
||||
beforeUnmount() {
|
||||
if (this.observer) {
|
||||
this.observer.disconnect();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue