轻量事件总线

This commit is contained in:
2019-01-15 20:02:59 +08:00
parent a4772f5d48
commit 6132d4c0b7
4 changed files with 12 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import router from './router'
import store from './store'
Vue.config.productionTip = false
Vue.prototype.$EventBus = new Vue()
// Vue.prototype.$EventBus = new Vue()
new Vue({
router,