收藏
回答

电脑调试没问题真机调试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>)

回答关注问题邀请回答
收藏

11 个回答

  • 默
    2020-05-18

    同异步调用wx.previewImage的问题 贴下代码片段


    2020-05-18
    有用
    回复 21
    • hello world
      hello world
      2020-05-18
      2020-05-18
      回复
    • 默
      2020-05-18回复hello world
      你打印一下这个数据 你会发现是一个新世界
      2020-05-18
      回复
    • hello world
      hello world
      2020-05-18
      2020-05-18
      回复
    • hello world
      hello world
      2020-05-18
      没毛病啊
      2020-05-18
      回复
    • 默
      2020-05-18回复hello world
      你这个id是索引?
      2020-05-18
      回复
    查看更多(16)

正在加载...

登录 后发表内容
问题标签