wip(VForm): VForm component development
This commit is contained in:
parent
2730c2b359
commit
cdb5c5f0b1
|
@ -112,6 +112,7 @@ export default defineComponent({
|
|||
return () => (
|
||||
<ElForm ref={formRef} {...getFormBindValue()}>
|
||||
{{
|
||||
// 如果需要自定义,就什么都不渲染,而是提供默认插槽
|
||||
default: () => (isCustom ? getSlot(slots, 'default') : renderWrap())
|
||||
}}
|
||||
</ElForm>
|
||||
|
|
Loading…
Reference in New Issue