Fixiaobai
2023-09-07 efcf450e8e7e375ef4ffe9f421ec0d34c5378180
src/main.js
@@ -9,7 +9,6 @@
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'
@@ -20,6 +19,7 @@
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
import print from 'print-js'
import '@/icons' // icon
import '@/permission' // permission control
@@ -43,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,按如下方式声明
@@ -58,4 +60,4 @@
  router,
  store,
  render: h => h(App)
})
});