fix: datetimerange type error

This commit is contained in:
xingyu
2022-07-21 16:51:58 +08:00
parent bc233df980
commit 1b2c2b4257
11 changed files with 62 additions and 108 deletions

View File

@ -54,26 +54,13 @@ const crudSchemas = reactive<CrudSchema[]>([
field: 'createTime',
form: {
show: false
}
},
{
label: t('common.createTime'),
field: 'daterange',
table: {
show: false
},
form: {
show: false
},
detail: {
show: false
},
search: {
show: true,
component: 'DatePicker',
componentProps: {
type: 'daterange',
valueFormat: 'YYYY-MM-DD'
type: 'datetimerange',
valueFormat: 'YYYY-MM-DD HH:mm:ss'
}
}
},