zouyu
2023-08-22 e51a8bda1e15ad30654c5f90f5591f240a5ec3de
src/main.js
@@ -14,8 +14,15 @@
import store from './store'
import router from './router'
//引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import '@/icons' // icon
import '@/permission' // permission control
import url from './api/url.js'
/**
 * If you don't want to use mock-server
@@ -30,11 +37,17 @@
  mockXHR()
}
Vue.prototype.HaveJson = (val) => {
   return JSON.parse(JSON.stringify(val))
}
// set ElementUI lang to EN
Vue.use(ElementUI, { locale })
// 如果想要中文版 element-ui,按如下方式声明
// Vue.use(ElementUI)
Vue.use(url);
Vue.config.productionTip = false
new Vue({