+1,昨天发现了这个问题,一开始还以为是我手机问题,真机测试时出现那个错误,网上也搜不到解决方法
紧急@官方:这两天很多人都出现wx.previewImage图片预览突然报错?在开发工具上可以放大图片预览,在手机上无法放大图片预览。 点击图片没有反应,真机测试出现下面报错。前两天还是可以预览的,不知道这两天什么时候开始突然不行了。 [图片] 应该不是代码问题,之前还是可以的,而且电脑端开发工具上点击可以放大预览。 用的是稳定版 Stable Build (1.02.2004020),重新安装了预发布版 RC Build (1.03.2005141)也同样报错。 而且这两天很多人都出现这个问题。 https://developers.weixin.qq.com/community/develop/doc/0000401e3fc7e888ef5a0881d56400?highLine=TypeError%253A%2520Invalid%2520attempt%2520to%2520spread%2520non-iterable%2520instance.%2520In%2520order%2520to%2520be%2520iterable%252C%2520non-array%2520objects%2520must%2520have%2520a%2520%255BSymbol.iterator%255D%28%29%2520method. 出现这个问题的在下面留言报个到!
2020-05-19楼主解决了吗,今天弄了一天都不知道问题出在哪里
电脑调试没问题真机调试wx.previewImage报错?Uncaught (in promise) thirdScriptError Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method. TypeError: Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at eval (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:637683) at a (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:637833) at eval (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:1006853) at d (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:678898) at c (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:678582) at a (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:677165) at t (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:1006797) at Object.$i (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:1006919) at eval (eval at n.call.document (http://127.0.0.1:64664/remote-debug/runtime.js?devtools_ignore=true:1:1), <anonymous>:2:614131) at new Promise (<anonymous>)
2020-05-18