1***@163.com
pc端国际化没问题,但是在移动端运行的时候就报错了,报错代码如下:
[Vue warn]: Error in render: "TypeError: undefined is not an object (evaluating 'i18n._t')"
20:42:19.424 (found at pages/index/index.vue:1)
20:42:19.441 TypeError: undefined is not an object (evaluating 'i18n._t')
20:42:19.474 cid unmatched at view.umd.min.js:1
20:42:19.491 TypeError: Invalid attempt to destructure non-iterable instance.
20:42:19.524 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
20:42:19.541 cid unmatched at view.umd.min.js:1
20:42:19.574 TypeError: Invalid attempt to destructure non-iterable instance.
20:42:19.591 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
20:42:19.609 cid unmatched at view.umd.min.js:1
20:42:19.631 TypeError: Invalid attempt to destructure non-iterable instance.
20:42:19.657 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
20:42:20.382 [Vue warn]: Error in render: "TypeError: undefined is not an object (evaluating 'i18n._t')"
20:42:20.431 (found at pages/index/index.vue:1)
20:42:20.454 TypeError: undefined is not an object (evaluating 'i18n._t')
请问有解决方案吗?
2020-07-01 20:47
64 个评论
要回复文章请先登录或注册
1***@163.com
8***@qq.com
蒋雨洋
1***@163.com
DCloud_heavensoft (作者)
1***@163.com
AlertZMK
b***@benzii.com
b***@benzii.com
叫本王宝宝