diff --git a/resources/admin/support/catchAdmin.ts b/resources/admin/support/catchAdmin.ts index 75255b0..1d41492 100644 --- a/resources/admin/support/catchAdmin.ts +++ b/resources/admin/support/catchAdmin.ts @@ -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 }