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

This commit is contained in:
hooray
2021-09-29 17:04:01 +08:00
parent 24e8c53b28
commit 4d5ebdb4ce
3 changed files with 509 additions and 565 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
})