Use unmounted instead.

This commit is contained in:
FireMasterK 2021-09-06 02:31:26 +05:30
parent 07dfa21956
commit 10d2df6d0d
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -179,7 +179,7 @@ export default {
this.active = false;
window.removeEventListener("scroll", this.handleScroll);
},
beforeUnmount() {
unmounted() {
window.removeEventListener("scroll", this.handleScroll);
},
methods: {