Use unmounted instead.

This commit is contained in:
FireMasterK
2021-09-06 02:31:26 +05:30
parent 07dfa21956
commit 10d2df6d0d
+1 -1
View File
@@ -179,7 +179,7 @@ export default {
this.active = false;
window.removeEventListener("scroll", this.handleScroll);
},
beforeUnmount() {
unmounted() {
window.removeEventListener("scroll", this.handleScroll);
},
methods: {