父组件
<checkBoxCom v-model="searchParams.classIds" @changeMore="classMore"></checkBoxCom>
子组件:
const props = defineProps({
modelValue: {
type: Object,
default: {}
}
})
const emits = defineEmits(['update:modelValue','changeMore']);
父组件
<checkBoxCom v-model="searchParams.classIds" @changeMore="classMore"></checkBoxCom>
子组件:
const props = defineProps({
modelValue: {
type: Object,
default: {}
}
})
const emits = defineEmits(['update:modelValue','changeMore']);