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: "v"  


意思是,通过 props 传递给子组件的 属性,不能在子组件内部修改 props 中的 属性值。


一般在写 Vue 控件 时会出现这种情况,我们只需要,在 data 中再定义一个变量,控件绑定这个 data 中的变量,不要直接绑定 props 传过来的变量就不会出现此错误。