main.js
// 中文包
import locale from 'element-plus/lib/locale/lang/zh-cn'
import ElementPlus from 'element-plus'
app.use(ElementPlus, { locale });
main.js
// 中文包
import locale from 'element-plus/lib/locale/lang/zh-cn'
import ElementPlus from 'element-plus'
app.use(ElementPlus, { locale });