landing sticky header fix
parent
66668701f8
commit
8c636ee305
|
@ -59,6 +59,9 @@ export default {
|
||||||
},
|
},
|
||||||
scrollListener: null,
|
scrollListener: null,
|
||||||
container: null,
|
container: null,
|
||||||
|
mounted() {
|
||||||
|
this.bindScrollListener();
|
||||||
|
},
|
||||||
beforeUnmount() {
|
beforeUnmount() {
|
||||||
if (this.scrollListener) {
|
if (this.scrollListener) {
|
||||||
this.unbindScrollListener();
|
this.unbindScrollListener();
|
||||||
|
|
Loading…
Reference in New Issue