Browse Source

fix: form warning #1076

pull/1091/head
tangjinzhou 5 years ago
parent
commit
9734ec0993
  1. 2
      components/vc-form/src/createBaseForm.jsx

2
components/vc-form/src/createBaseForm.jsx

@ -193,7 +193,7 @@ function createBaseForm(option = {}, mixins = []) {
!(
!slotHasProp(fieldElem, valuePropName) &&
valuePropName in originalProps &&
!(fieldOption && fieldOption.initialValue)
!(fieldOption && initialValue in fieldOption)
),
`${getComponentName(
fieldElem.componentOptions,

Loading…
Cancel
Save