fix: date field parameter path error

This commit is contained in:
chenos 2021-08-04 17:37:46 +08:00
parent 5b014bc67e
commit 02890f550d

View File

@ -28,7 +28,7 @@ export const dataType: ISchema = {
}; };
export const dateTimeProps: { [key: string]: ISchema } = { export const dateTimeProps: { [key: string]: ISchema } = {
dateFormat: { 'uiSchema.x-component-props.dateFormat': {
type: 'string', type: 'string',
title: '日期格式', title: '日期格式',
'x-component': 'Radio.Group', 'x-component': 'Radio.Group',
@ -49,7 +49,7 @@ export const dateTimeProps: { [key: string]: ISchema } = {
}, },
], ],
}, },
showTime: { 'uiSchema.x-component-props.showTime': {
type: 'boolean', type: 'boolean',
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'Checkbox', 'x-component': 'Checkbox',
@ -62,7 +62,7 @@ export const dateTimeProps: { [key: string]: ISchema } = {
}}}`, }}}`,
], ],
}, },
timeFormat: { 'uiSchema.x-component-props.timeFormat': {
type: 'string', type: 'string',
title: '时间格式', title: '时间格式',
'x-component': 'Radio.Group', 'x-component': 'Radio.Group',