1.父组件
<button v-on:click="notify">广播事件</button>
<juesefenpei ref="child"></juesefenpei>
methods: { notify: function () { this.$refs.child.parentMsg('boonook'); },}2.子组件
methods:{ parentMsg: function (a) { alert(a); }},