fix(demo): useForm中DatePicker,RangePicker 日期控件位置不对
This commit is contained in:
parent
8b13f62995
commit
ae58ada82e
|
|
@ -84,12 +84,22 @@
|
|||
component: 'DatePicker',
|
||||
label: '字段3',
|
||||
colProps: { span: 8 },
|
||||
componentProps: {
|
||||
getPopupContainer: () => {
|
||||
return document.querySelector('.ant-form');
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'fieldTime',
|
||||
component: 'RangePicker',
|
||||
label: '时间字段',
|
||||
colProps: { span: 8 },
|
||||
componentProps: {
|
||||
getPopupContainer: () => {
|
||||
return document.querySelector('.ant-form');
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'field4',
|
||||
|
|
|
|||
Loading…
Reference in New Issue