Instead, use a data or computed property based on the prop's value. Prop being mutated: "xxx"
解决方法:
[Vue warn]: 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: "batchColOptions"
因为prop里面定义的属性都单向绑定,父组件传过来的值,子组件不能更改数据,如果想和父组件通讯可以使用$emit 和 $on,可参考:http://www.yayihouse.com/yayishuwu/chapter/2618