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