【我刚刚测试通过了!!!!】——清理一下手机微信的缓存试试,我清理过后,就又正常了。害得我折腾了一个早上。
电脑调试没问题真机调试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-19