关于报错Avoid mutating a prop directly since the value will be overwritten whenever the parent component
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "show"
原创
2022-09-07 16:18:52 ·
620 阅读 ·
1 评论