vue报错Cannot read property '_t' of undefined
是在项目中用了多语言配置,vue 跟 i18n之间的兼容问题。解决方法如下Vue.use(ViewUI) 替换成Vue.use(ViewUI, { i18n: function (path, options) { let value = i18n.t(path, options); if (value !== null && value !== unde...
原创
2019-10-15 16:10:32 ·
6622 阅读 ·
0 评论