style: 表单项宽度默认100%
This commit is contained in:
parent
31ea31dde8
commit
416de2b4d6
|
@ -329,7 +329,11 @@ export default defineComponent({
|
||||||
ref={(el: any) => setComponentRefMap(el, item.field)}
|
ref={(el: any) => setComponentRefMap(el, item.field)}
|
||||||
{...(autoSetPlaceholder && setTextPlaceholder(item))}
|
{...(autoSetPlaceholder && setTextPlaceholder(item))}
|
||||||
{...setComponentProps(item)}
|
{...setComponentProps(item)}
|
||||||
style={item.componentProps?.style || {}}
|
style={
|
||||||
|
item.componentProps?.style || {
|
||||||
|
width: '100%'
|
||||||
|
}
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{{ ...slotsMap }}
|
{{ ...slotsMap }}
|
||||||
</Com>
|
</Com>
|
||||||
|
|
Loading…
Reference in New Issue