update webpack & support Affix

update webpack & support Affix
This commit is contained in:
梁灏 2017-03-01 12:00:31 +08:00
parent 9e74a856f6
commit fcf37f49ee
4 changed files with 5 additions and 6 deletions

View file

@ -71,7 +71,7 @@
];
}
},
ready () {
mounted () {
window.addEventListener('scroll', this.handleScroll, false);
window.addEventListener('resize', this.handleScroll, false);
},