From d7541d3db0a2129f0033683ed63231cd6d6611bd Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期六, 24 六月 2023 11:06:06 +0800
Subject: [PATCH] bug修改

---
 src/main.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main.js b/src/main.js
index ed23992..10da838 100644
--- a/src/main.js
+++ b/src/main.js
@@ -20,6 +20,7 @@
 import map from '@/utils/map'
 Vue.prototype.$map = map
 Vue.prototype.$axios = api
+window.eventBus = new Vue();
 router.beforeEach((to, from, next) => {
   if (to.meta.needLogin) {
     const token = sessionStorage.getItem('token');
@@ -40,4 +41,4 @@
   store,
   render: h => h(App)
 }).$mount('#app')
-// Vue.config.devtools=true
\ No newline at end of file
+// Vue.config.devtools=true

--
Gitblit v1.8.0