From 8c36a0ecbf879e88956713953e7623d775cb182b Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 29 May 2024 19:52:03 +0800
Subject: [PATCH] 123
---
src/main.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main.js b/src/main.js
index 9d2c9b4..a6519ef 100644
--- a/src/main.js
+++ b/src/main.js
@@ -20,13 +20,13 @@
import './permission' // permission control
import './utils/filter' // global filter
import './global.less'
+import { Image } from 'element-ui'
+import 'element-ui/lib/theme-chalk/index.css'
// window['console']['log'] = function () {} // global style
Vue.config.productionTip = false
-import ElementUI from 'element-ui'
-import 'element-ui/lib/theme-chalk/index.css'
-Vue.use(ElementUI)
+Vue.use(Image)
Vue.prototype.$host = process.env.VUE_APP_API_BASE_URL
// mount axios to `Vue.$http` and `this.$http`
Vue.use(VueAxios)
@@ -44,5 +44,5 @@
i18n,
// init localstorage, vuex, Logo message
created: bootstrap,
- render: (h) => h(App),
+ render: (h) => h(App)
}).$mount('#app')
--
Gitblit v1.9.3