feat: Search component add expand attribute and expandField attribute

This commit is contained in:
kailong321200875
2022-01-30 15:07:51 +08:00
parent 48ffc52ca8
commit 9b4b317817
5 changed files with 131 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ export default defineComponent({
const formModel = ref<Recordable>({})
onMounted(() => {
emit('register', elFormRef.value?.$parent, elFormRef.value)
emit('register', unref(elFormRef)?.$parent, unref(elFormRef))
})
// 对表单赋值