From 601574f8124246a4b6f64f517c037436e47e093e Mon Sep 17 00:00:00 2001 From: JaguarJack <82664165@qq.com> Date: Thu, 30 Nov 2023 11:12:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=BB=98=E8=AE=A4=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/admin/support/catchAdmin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }