wip(VForm): VForm component development

This commit is contained in:
kailong321200875
2021-12-15 21:28:38 +08:00
parent 2730c2b359
commit cdb5c5f0b1

View File

@@ -112,6 +112,7 @@ export default defineComponent({
return () => (
<ElForm ref={formRef} {...getFormBindValue()}>
{{
// 如果需要自定义,就什么都不渲染,而是提供默认插槽
default: () => (isCustom ? getSlot(slots, 'default') : renderWrap())
}}
</ElForm>