目前,我有一个vue-multiselect组件,它需要一个v-model。[Vue warn]: Avoid mutating a prop directly since the value will be overwrittenProp being mutated: "model"
它们是正确的,但在我的
在父组件中,我传递一个使用.sync实现双向绑定的道具,在子组件中,我只是将该支柱绑定到v-model,这样,我希望可以通过这个.sync支柱将子组件中的任何更改传播给父组件。然而,我收到了警告:
[Vue warn]: Avoid mutating a prop directly since the value will be