Merge pull request 'fix: 日期提交给后端设置为utc类型,单选类型有误差,后期需要系统整理日期格式问题' (#595) from fix_date_utc into dev

Reviewed-on: daoyoucloud/tachycode#595
This commit is contained in:
sealday 2024-04-03 19:21:53 +08:00
commit 4a0575985e

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>