1 使用update
(1)在组件中使用v-model="value"
(2)props中接收modelValue
(3)然后在value值发生变化的时候:this.$emit("update:modelValue", this.value);
(4)在使用组件的时候直接正常绑定v-modle即可。
传统CV算法——基于Opencv的多目标追踪算法
阅读 3
2024-09-07
1 使用update
(1)在组件中使用v-model="value"
(2)props中接收modelValue
(3)然后在value值发生变化的时候:this.$emit("update:modelValue", this.value);
(4)在使用组件的时候直接正常绑定v-modle即可。
相关推荐
精彩评论(0)