fix(demo-form): add fieldMapToTime example,fix #807

This commit is contained in:
Vben
2021-06-24 23:17:38 +08:00
parent a2d8be3ab2
commit a2a75a097f

View File

@@ -96,6 +96,14 @@
span: 8,
},
},
{
field: 'fieldTime',
component: 'RangePicker',
label: '时间字段',
colProps: {
span: 8,
},
},
{
field: 'field4',
component: 'Select',
@@ -171,6 +179,7 @@
actionColOptions: {
span: 24,
},
fieldMapToTime: [['fieldTime', ['startTime', 'endTime'], 'YYYY-MM']],
});
return {
register,