|
@@ -3,7 +3,7 @@ import { createPinia } from 'pinia'
|
|
|
import ElementPlus from 'element-plus'
|
|
|
import 'element-plus/dist/index.css'
|
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
|
-import zhCn from 'element-plus/dist/locale/zh-cn'//element-plus
|
|
|
+import locale from 'element-plus/dist/locale/zh-cn'//element-plus
|
|
|
import App from './App.vue'
|
|
|
import router from './router'
|
|
|
import './styles/index.scss'
|
|
@@ -17,7 +17,7 @@ for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
|
|
|
app.use(createPinia())
|
|
|
app.use(router)
|
|
|
-app.use(ElementPlus, {zhCn})
|
|
|
+app.use(ElementPlus, {locale})
|
|
|
// app.use(ElementPlus)
|
|
|
|
|
|
app.mount('#app')
|