fix: form warning #1076

This commit is contained in:
tangjinzhou 2019-08-15 22:12:50 +08:00
parent 259f16b145
commit 9734ec0993

View File

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