src/main.js
@@ -11,6 +11,9 @@ // import locale from 'element-ui/lib/locale/lang/zh-CN' // import 'element-ui/lib/theme-chalk/index.css'; import '@/assets/element-variables.scss'; import '@/assets/css/index.css' import '@/assets/css/content.css' import '@/assets/css/configure.css' Vue.prototype.$echarts = echarts; import * as echarts from 'echarts'; Vue.use(ElementUI, { locale }); @@ -24,6 +27,5 @@ router, i18n, store, render: (h) => h(App), }).$mount('#app');