From 02890f550d8ab297ebbdce240e1b1f340d6b3cf4 Mon Sep 17 00:00:00 2001 From: chenos Date: Wed, 4 Aug 2021 17:37:46 +0800 Subject: [PATCH] fix: date field parameter path error --- .../schemas/database-field/interfaces/properties/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/schemas/database-field/interfaces/properties/index.ts b/packages/client/src/schemas/database-field/interfaces/properties/index.ts index 7990af7d7..82324103c 100644 --- a/packages/client/src/schemas/database-field/interfaces/properties/index.ts +++ b/packages/client/src/schemas/database-field/interfaces/properties/index.ts @@ -28,7 +28,7 @@ export const dataType: ISchema = { }; export const dateTimeProps: { [key: string]: ISchema } = { - dateFormat: { + 'uiSchema.x-component-props.dateFormat': { type: 'string', title: '日期格式', 'x-component': 'Radio.Group', @@ -49,7 +49,7 @@ export const dateTimeProps: { [key: string]: ISchema } = { }, ], }, - showTime: { + 'uiSchema.x-component-props.showTime': { type: 'boolean', 'x-decorator': 'FormItem', 'x-component': 'Checkbox', @@ -62,7 +62,7 @@ export const dateTimeProps: { [key: string]: ISchema } = { }}}`, ], }, - timeFormat: { + 'uiSchema.x-component-props.timeFormat': { type: 'string', title: '时间格式', 'x-component': 'Radio.Group',