http://blog.csdn.net/wang_meiwei/article/details/75948844
用这个事件总线可以将组件的内容进行传递,当传递过去后 向后台发送请求时,会报错
Uncaught TypeError: Cannot read property 'post' of undefined
原因是
var
that
=
this
;
//this在此时指向信息传递对象,所以需要在外面重新指向this
当发送请求时需要在其他钩子函数中用this指向