提交 a2a75a09 作者: Vben

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

上级 a2d8be3a
...@@ -97,6 +97,14 @@ ...@@ -97,6 +97,14 @@
}, },
}, },
{ {
field: 'fieldTime',
component: 'RangePicker',
label: '时间字段',
colProps: {
span: 8,
},
},
{
field: 'field4', field: 'field4',
component: 'Select', component: 'Select',
label: '字段4', label: '字段4',
...@@ -171,6 +179,7 @@ ...@@ -171,6 +179,7 @@
actionColOptions: { actionColOptions: {
span: 24, span: 24,
}, },
fieldMapToTime: [['fieldTime', ['startTime', 'endTime'], 'YYYY-MM']],
}); });
return { return {
register, register,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论