在main.ts中引入
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'会飘红,解决办法是在上面加一行注释:
//@ts-ignore即:
//@ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs' 在main.ts中引入
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'会飘红,解决办法是在上面加一行注释:
//@ts-ignore即:
//@ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'