mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-12-11 18:42:52 +00:00
fix(tdesign-vue-next-adapter): 没有extra时form item不渲染help节点
This commit is contained in:
parent
8aef360ed7
commit
849b4dc319
@ -354,7 +354,7 @@ const adapter: any = {
|
|||||||
labelWidth: props.labelWidth,
|
labelWidth: props.labelWidth,
|
||||||
name: props.prop,
|
name: props.prop,
|
||||||
rules: props.rules,
|
rules: props.rules,
|
||||||
help: () => h('div', { innerHTML: props.extra }),
|
help: props.extra ? () => h('div', { innerHTML: props.extra }) : undefined,
|
||||||
labelAlign: props.labelPosition,
|
labelAlign: props.labelPosition,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user