登录社区云,与社区用户共同成长
邀请您加入社区
从elementui上复制下来组件,发现日期变成英文了出现英文的原因:项目在main.js文件里设置的默认语言为英文。解决:在main.js中引入中文方法即可//在main.js中引入中文方法即可import locale from 'element-ui/lib/locale/lang/zh-CN'Vue.use(ElementUI, { locale })...
解决:在main.js中引入中文方法即可
//在main.js中引入中文方法即可 import locale from 'element-ui/lib/locale/lang/zh-CN' Vue.use(ElementUI, { locale })
Vue社区为您提供最前沿的新闻资讯和知识内容
更多推荐
Mac 使用vscode 创建vue项目后修改文件提示:权限不足,以超级用户身份重试
基于nodejs+vue云计算的城乡医疗卫生服务系统[程序+论文+开题]-计算机毕业设计
ElasticSearch迁移至openGauss
扫一扫分享内容
所有评论(0)