fix: 日期提交给后端设置为utc类型,单选类型有误差,后期需要系统整理日期格式问题

This commit is contained in:
bai.jingfeng 2024-04-03 18:08:50 +08:00
parent ff9ae1a2f5
commit 213a1b2dd4

View File

@ -6,7 +6,7 @@ import { withDynamicSchemaProps } from '../application/hoc/withDynamicSchemaProp
export const FilterFormBlockProvider = withDynamicSchemaProps((props) => { export const FilterFormBlockProvider = withDynamicSchemaProps((props) => {
return ( return (
<DatePickerProvider value={{ utc: false }}> <DatePickerProvider value={{ utc: true }}>
<DefaultValueProvider isAllowToSetDefaultValue={() => false}> <DefaultValueProvider isAllowToSetDefaultValue={() => false}>
<FormBlockProvider name="filter-form" {...props}></FormBlockProvider> <FormBlockProvider name="filter-form" {...props}></FormBlockProvider>
</DefaultValueProvider> </DefaultValueProvider>