类似这个 issue
https://github.com/vuejs/vue-loader/issues/121
尤大也说通过 this 就可以取得,但现在我在 scroll 事件中想要取得一个组件的实例, scroll 事件并不是某个组件的钩子,那 this 就用不了了。。而 window 的 scroll 事件又不能通过 v-on 来绑定,这种情况应该如何取得 vue 组件的实例呢?
|  |      1SourceMan      2016-08-06 17:20:06 +08:00 什么跟什么 | 
|  |      2zhouyg      2016-08-06 17:36:10 +08:00  1 在组件 ready 的时候,在 ready 方法里监听 window scroll 事件 | 
|  |      4sox      2016-08-06 17:45:34 +08:00 所以说这和 vue-loader 没半点关系 |