摘要: 当我们使用父组件向子组件传值,当子组件中是v-model使用该值时会报:[Vue warn]: Avoid mutating a prop directly since the value will be overwritten 原因为:在Vue 2.x中移除了组件的props的双向绑定功能,如果需 阅读全文
posted @ 2019-03-09 09:28 WFaceBoss 阅读(1411) 评论(0) 推荐(0)