| | |
| | | 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' |
| | |
| | | import echarts from 'echarts' |
| | | Vue.prototype.$echarts = echarts |
| | | |
| | | import print from 'print-js' |
| | | |
| | | import '@/icons' // icon |
| | | import '@/permission' // permission control |
| | |
| | | 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,按如下方式声明 |
| | |
| | | router, |
| | | store, |
| | | render: h => h(App) |
| | | }) |
| | | }); |