9***@qq.com
9***@qq.com
  • 发布:2020-12-03 15:29
  • 更新:2020-12-03 15:59
  • 阅读:663

真机上报错

分类:uni-app
TypeError: Invalid attempt to iterate non-iterable instance.  
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.  
[Vue warn]: Error in callback for immediate watcher "expand": "TypeError: Invalid attempt to iterate non-iterable instance.  
In order to be iterable, non-array objects must have a [Symbol.iterator]() method."

大佬你好!组件在H5上没问题,编译到真机上报这个错误怎么解决呢?

2020-12-03 15:29 负责人:无 分享
已邀请:
DCloud_UNI_LXH

DCloud_UNI_LXH

这是语法报错
因为你对一个不可遍历的属性进行了遍历操作

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