技术栈

数组转对象

friend_ship
7 个月前
vue.js·v-model传参·对象的crud·对象转数组·数组转对象
Vue中父组件通过v-model向子组件传对象参数父组件通过v-model传递,子组件通过props:{modelValue: Object}进行接收,通过 emit(‘update:modelValue’, configData.value)事件更新绑定的数据。