1***@qq.com
1***@qq.com
  • 发布:2020-05-19 16:15
  • 更新:2020-08-18 17:32
  • 阅读:3049

app运行异常报错,事件无效

分类:uni-app

16:11:19.081 cid unmatched at view.umd.min.js:1
16:11:19.122 TypeError: Invalid attempt to destructure non-iterable instance.
16:11:19.166 In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at view.umd.min.js:1

报这个错后,当前页面的所有事件全部失效,点击事件后报
event handler[-1][15-0] not found

2020-05-19 16:15 负责人:无 分享
已邀请:
叶耳朵

叶耳朵

你应该是定义在data里的对象没有这个键,却在页面上使用了这个对象的键

3***@qq.com

3***@qq.com

Uncaught (in promise) TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
at _nonIterableRest (chunk-vendors.js:12065)
at _slicedToArray (chunk-vendors.js:12152)
at eval (ajax.js:29)
_nonIterableRest @ chunk-vendors.js:12065
_slicedToArray @ chunk-vendors.js:12152
(anonymous) @ ajax.js:29
Promise.catch (async)
(anonymous) @ ajax.js:10
ajax @ ajax.js:9
loginUserPwd @ index.js:15
shopInformationA @ userLogin.vue:165
click @ pages-userLogin-userLogin.js:145
invokeWithErrorHandling @ chunk-vendors.js:5010
invoker @ chunk-vendors.js:5335
original._wrapper @ chunk-vendors.js:10213
App.vue:10 App Hide求大神帮忙

该问题目前已经被锁定, 无法添加新回复