Fixiaobai
2023-09-07 efcf450e8e7e375ef4ffe9f421ec0d34c5378180
src/main.js
@@ -7,7 +7,8 @@
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import locale from 'element-ui/lib/locale/lang/zh-CN' // lang i18n
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)
import '@/styles/index.scss' // global css
import App from './App'
@@ -18,6 +19,7 @@
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import print from 'print-js'
import '@/icons' // icon
import '@/permission' // permission control
@@ -41,6 +43,8 @@
   return JSON.parse(JSON.stringify(val))
}
Vue.prototype.vueIp = "http://114.132.189.42:8080"
// set ElementUI lang to EN
Vue.use(ElementUI, { locale })
// 如果想要中文版 element-ui,按如下方式声明
@@ -50,9 +54,10 @@
Vue.config.productionTip = false
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
});