更新语言
This commit is contained in:
@@ -13,7 +13,7 @@ import pinia from "./store/store";
|
||||
|
||||
import ElementPlus from "element-plus";
|
||||
import "element-plus/dist/index.css";
|
||||
import locale from 'element-plus/lib/locale/lang/zh-cn'
|
||||
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
||||
|
||||
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
|
||||
|
||||
@@ -24,7 +24,7 @@ import App from "./App.vue";
|
||||
const app = createApp(App);
|
||||
app.use(pinia);
|
||||
app.use(router);
|
||||
app.use(ElementPlus, { locale });
|
||||
app.use(ElementPlus, { locale: zhCn });
|
||||
app.use(initComponents);
|
||||
app.use(initDirective);
|
||||
app.use(countTo);
|
||||
|
||||
Reference in New Issue
Block a user