报错信息:
原因:在子组件中修改了父组件传过来的参数(props中的数据),这是不允许的
修改方式:事件传递(this.$emit),在父组件中修改
Avoid mutating a prop directly since the value will be overwritten whenever the parent component...
猜你喜欢
转载自blog.csdn.net/qq_43483403/article/details/120039568
今日推荐
周排行