mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-25 02:58:43 +08:00
fix(demo): useForm中DatePicker,RangePicker 日期控件位置不对
This commit is contained in:
parent
8b13f62995
commit
ae58ada82e
@ -84,12 +84,22 @@
|
|||||||
component: 'DatePicker',
|
component: 'DatePicker',
|
||||||
label: '字段3',
|
label: '字段3',
|
||||||
colProps: { span: 8 },
|
colProps: { span: 8 },
|
||||||
|
componentProps: {
|
||||||
|
getPopupContainer: () => {
|
||||||
|
return document.querySelector('.ant-form');
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'fieldTime',
|
field: 'fieldTime',
|
||||||
component: 'RangePicker',
|
component: 'RangePicker',
|
||||||
label: '时间字段',
|
label: '时间字段',
|
||||||
colProps: { span: 8 },
|
colProps: { span: 8 },
|
||||||
|
componentProps: {
|
||||||
|
getPopupContainer: () => {
|
||||||
|
return document.querySelector('.ant-form');
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'field4',
|
field: 'field4',
|
||||||
|
Loading…
Reference in New Issue
Block a user