You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.
问题详情:
父组件往子组件传递数据,
子组件接受数据并定义一个默认值:
当点击按钮时,删除该数组的任一值
数据正常发生了改变,但是却报错:
但是,以同样的过程,改变一个我自己创建的数组里的数据时,却没有报错:
说明我的方法是没问题的,但是为什么删除传过来的数组里的任一值值却报错,往这个数组添加任一值,却不报错???
The text was updated successfully, but these errors were encountered: