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')