From c76c4329f9cbb5f91d118827399d5b466a614cb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BC=95?= Date: Thu, 7 Dec 2023 15:03:51 +0800 Subject: [PATCH] =?UTF-8?q?zhCn=E5=BC=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a1ec8fc..effc8d6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,7 +20,9 @@ import 'normalize.css/normalize.css' createApp(App) .use(router) .use(createPinia()) - .use(ElementPlus) + .use(ElementPlus,{ + locale: zhCn, + }) .component('Foot', Foot) .component('Head', Head) .mount('#app')