text: webpackJsonp([3],{"437w":function(e,t){},DZgL:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d={name:"child",data:()=>({newTodoText:"newTodoText"}),created(){this.addTodo()},methods:{addTodo(){this.$bus.emit("add-todo",{text:this.newTodoText}),this.$bus.emit("once")}}},n={render:function(){var e=this.$createElement;return(this._self._c||e)("div",[this._v("\n    vue-bus-child\n")])},staticRenderFns:[]};var s={name:"index",components:{VueChild:o("VU/8")(d,n,!1,function(e){o("437w")},"data-v-300ffd39",null).exports},created(){this.$bus.on("add-todo",this.addTodo),this.$bus.once("once",()=>console.log("This listener will only fire once"))},beforeDestroy(){this.$bus.off("add-todo",this.addTodo)},methods:{addTodo(e){console.log(e,"addTodo")}}},a={render:function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("router-layout",[o("van-nav-bar",{attrs:{slot:"header",title:"vue-bus","left-arrow":""},on:{"click-left":function(t){return e.$router.go(-1)}},slot:"header"}),e._v(" "),o("vue-child")],1)},staticRenderFns:[]};var r=o("VU/8")(s,a,!1,function(e){o("ng74")},"data-v-4a9d100d",null);t.default=r.exports},ng74:function(e,t){}});
  //# sourceMappingURL=3.1be29a2dd3bbe79f8073.js.map