From af103fd11d883fad506ee52945053f3e0f1cd5a8 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Tue, 18 Feb 2025 16:27:41 +0800
Subject: [PATCH] 1

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

diff --git a/src/main.js b/src/main.js
index 6089870..b474e17 100644
--- a/src/main.js
+++ b/src/main.js
@@ -12,19 +12,25 @@
 import themePluginConfig from '../config/themePluginConfig'
 // mock
 // WARNING: `mockjs` NOT SUPPORT `IE` PLEASE DO NOT USE IN `production` ENV.
+// import Antd from 'ant-design-vue'
 
+// import 'ant-design-vue/dist/reset.css'
 import bootstrap from './core/bootstrap'
 import './core/lazy_use' // use lazy load components
 import './permission' // permission control
 import './utils/filter' // global filter
 import './global.less'
-window['console']['log'] = function () {} // global style
+// window['console']['log'] = function () {} // global style
 
 Vue.config.productionTip = false
+import { Image } from 'element-ui'
+import 'element-ui/lib/theme-chalk/index.css'
 
+Vue.use(Image)
 Vue.prototype.$host = process.env.VUE_APP_API_BASE_URL
 // mount axios to `Vue.$http` and `this.$http`
 Vue.use(VueAxios)
+// Vue.use(Antd)
 // use pro-layout components
 Vue.component('pro-layout', ProLayout)
 Vue.component('page-container', PageHeaderWrapper)
@@ -38,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