fix:默认使用中文语言
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user