组件上的v-model 相当于是 组件内部增加了一个 属性名称为value的属性,组件内部更新value属性的值,通过 $emit 触发 input 事件即可: this.$emit('input', value);