真机的tabBar页面没问题,内置浏览器也没问题,有大佬知道为什么吗?
啥就破坏 非迭代实例的结构无效?
只要是自定义组件,不管全局还是页面都这样
10:22:32.234 cid unmatched at view.umd.min.js:1
10:22:32.256 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.275 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.296 cid unmatched at view.umd.min.js:1
10:22:32.317 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.335 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.355 cid unmatched at view.umd.min.js:1
10:22:32.375 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.396 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.417 cid unmatched at view.umd.min.js:1
10:22:32.435 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.455 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.475 cid unmatched at view.umd.min.js:1
10:22:32.496 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.516 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.536 cid unmatched at view.umd.min.js:1
10:22:32.556 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.576 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.599 cid unmatched at view.umd.min.js:1
10:22:32.618 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.636 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.656 cid unmatched at view.umd.min.js:1
10:22:32.676 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.697 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
10:22:32.717 cid unmatched at view.umd.min.js:1
10:22:32.741 TypeError: Invalid attempt to destructure non-iterable instance.
10:22:32.756 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1
11 个回复
DCloud_uniCloud_WYQ
发一份demo上来
9***@qq.com
请问解决了吗 我也是这样
TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
at VM23 WAService.js:2
at o (VM23 WAService.js:2)
at a.value (VM23 WAService.js:2)
at VM23 WAService.js:2
at r (VM23 WAService.js:2)
at VM23 WAService.js:2
at VM23 WAService.js:2
at n (VM21 asdebug.js:1)
at e.exports.<anonymous> (VM21 asdebug.js:1)
at VM21 asdebug.js:1
console.error @ VM17:1
n @ VM21 asdebug.js:1
(anonymous) @ VM21 asdebug.js:1
(anonymous) @ VM21 asdebug.js:1
_ws.onmessage @ VM21 asdebug.js:1
7***@qq.com (作者)
解决,重做就完事
2020-05-08 09:22
booboom
我也出现这样的问题,我把页面内容全删了,测试了一天,只做2个页面跳转,任有几率出现这样的报错。(微信小程序编辑器),不知道你解决了吗?
2020-09-25 16:14
1***@qq.com - 好人
我也遇到了同样的问题,解决了没
6***@qq.com - (#°Д°)
一个月了 我还没把这个BUG 修复 已经打算换框架重写了
6***@qq.com - (#°Д°)
<p style="color:red">o(︶︿︶)o 唉</p>
6***@qq.com - (#°Д°)
<p style="color:red;font-size:200px">我好难啊</p>
6***@qq.com - (#°Д°)
<a onclick="javascript:alert(我好难啊)" style="color:red">o(︶︿︶)o 唉</a>
6***@qq.com - (#°Д°)
<p onclick=“javascript:alert(‘难受’)” style="color:red">o(︶︿︶)o 唉</p>
6***@qq.com - (#°Д°)
<a href="www.baidu.com">12341234514</a>
7***@qq.com (作者)
我解决完就忘了我还发过贴,就传值要完整,我好像就少传了一个值就这样了
1***@qq.com
请问 怎么解决的 能详细一下吗,我也遇到这个问题了
2020-07-07 20:41
w***@163.com
注意检查模板语法是不能存在未定义对象的,就是说想在模板语法使用data里的key属性,那么这个key属性一定要提前在data函数里声明!!
w***@163.com
在说明白点,你在模板语法里使用obj.key这个属性,data里只定义obj,而不定义obj.key,这样也会引起报错!!!
2020-08-12 09:56