Uncaught (in promise) TypeError: Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.

可能是因为使用展开运算符或使用可迭代对象的时候,因为当前对象不是可迭代对象或者展开运算未在数组或者对象中展开

posted @ 2020-09-21 10:29  莫欺少年穷呐  阅读(12672)  评论(0编辑  收藏  举报