| | |
| | | import zhCn from 'element-plus/dist/locale/zh-cn.mjs' |
| | | import VXETable from 'vxe-table' |
| | | import 'vxe-table/lib/style.css' |
| | | import i18n from '@/lang' |
| | | import i18n, { syncElementLocale } from '@/lang'; |
| | | // import Echarts from "vue-echarts" |
| | | // echarts.registerMap('china', china) |
| | | // Vue.prototype.$echarts = echarts |
| | |
| | | app.use(VXETable) |
| | | app.use(pinia) |
| | | app.use(router) |
| | | // app.use(ElementPlus) |
| | | app.use(ElementPlus,{ |
| | | locale: zhCn, |
| | | }) |
| | | app.use(ElementPlus) |
| | | // app.use(ElementPlus,{ |
| | | // locale: zhCn, |
| | | // }) |
| | | app.use(i18n) |
| | | syncElementLocale(); |
| | | app.mount('#app') |