fix(tdesign-vue-next-adapter): 没有extra时form item不渲染help节点

This commit is contained in:
roymondchen 2025-11-24 19:15:50 +08:00
parent 8aef360ed7
commit 849b4dc319

View File

@ -354,7 +354,7 @@ const adapter: any = {
labelWidth: props.labelWidth,
name: props.prop,
rules: props.rules,
help: () => h('div', { innerHTML: props.extra }),
help: props.extra ? () => h('div', { innerHTML: props.extra }) : undefined,
labelAlign: props.labelPosition,
}),
},