fix: 时间格式提交问题

This commit is contained in:
xingyu 2022-12-07 22:14:13 +08:00
parent ca2cdc031d
commit b46ac885d4
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@ const crudSchemas = reactive<VxeCrudSchema>({
component: 'DatePicker',
componentProps: {
type: 'datetime',
valueFormat: 'YYYY-MM-DD HH:mm:ss'
valueFormat: 'x'
}
},
#elseif($column.htmlType == "editor")## 文本编辑器

View File

@ -104,7 +104,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime'
type: 'datetime',
valueFormat: 'x'
}
}
},