全局事件总线

This commit is contained in:
2019-01-15 20:00:27 +08:00
parent 316613acc6
commit a4772f5d48
8 changed files with 138 additions and 0 deletions

View File

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