更新依赖,element-plus默认中文

This commit is contained in:
hooray
2021-09-29 17:00:01 +08:00
parent 7bf40583a7
commit 6aefcdc8d7
3 changed files with 501 additions and 557 deletions
+2
View File
@@ -10,7 +10,9 @@ app.use(router)
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
app.use(ElementPlus, {
locale: zhCn,
size: store.state.settings.elementSize
})