From 829f5116884f98643ffc5b2a548a600d40c0cedb Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 14 四月 2025 23:09:32 +0800
Subject: [PATCH] 处理图片显示问题
---
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