uniapp报错: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders.

报错:不能在子组件中修改父组件传过来的值

 

 解决办法:子组件给父组件传值,在父组件中修改值。

posted @ 2022-09-26 11:51  云里知音  阅读(274)  评论(0)    收藏  举报