fix:默认使用中文语言

This commit is contained in:
JaguarJack
2023-11-30 11:12:33 +08:00
parent e711546d02
commit 601574f812

View File

@@ -65,7 +65,7 @@ export default class CatchAdmin {
protected useElementPlus(): CatchAdmin {
// @ts-ignore
this.app.use(ElementPlus, {
locale: Cache.get('language') === 'zh' && zh,
locale: Cache.get('language') === 'zh' || zh,
})
return this
}