Browse Source

Merge branch 'hotfix/Form组件setFieldsValue'

Form组件setFieldsValue
shizhongming 2 years ago
parent
commit
a06b31d5c8
  1. 2
      src/components/Form/src/hooks/useFormEvents.ts

2
src/components/Form/src/hooks/useFormEvents.ts

@ -90,7 +90,7 @@ export function useFormEvents({
// 0| '' is allow
if (hasKey || !!constructValue) {
const fieldValue = constructValue || value;
const fieldValue = constructValue && !isFunction(constructValue) ? constructValue : value;
// time type
if (itemIsDateType(key)) {
if (Array.isArray(fieldValue)) {

Loading…
Cancel
Save