this.$refs['mainScroller'].wrap.addEventListener('scroll', function ($event) { console.log($event); }) 需要给wrap监听