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