|
|
@@ -1,6 +1,7 @@
|
|
|
import { createApp } from 'vue'
|
|
|
import ElementPlus from 'element-plus'
|
|
|
import 'element-plus/dist/index.css'
|
|
|
+import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
|
|
import './style.css'
|
|
|
import App from './App.vue'
|
|
|
import router from "./router";
|
|
|
@@ -11,6 +12,6 @@ const app = createApp(App)
|
|
|
const pinia = createPinia()
|
|
|
pinia.use(piniaPluginPersistedState)
|
|
|
app.use(router)
|
|
|
-app.use(ElementPlus)
|
|
|
+app.use(ElementPlus, { locale: zhCn })
|
|
|
app.use(pinia)
|
|
|
app.mount('#app')
|