报错信息:
原因:在子组件中修改了父组件传过来的参数(props中的数据),这是不允许的
修改方式:事件传递(this.$emit),在父组件中修改
Avoid mutating a prop directly since the value will be overwritten whenever the parent component...
最新推荐文章于 2023-08-14 15:07:09 发布
报错信息:
原因:在子组件中修改了父组件传过来的参数(props中的数据),这是不允许的
修改方式:事件传递(this.$emit),在父组件中修改