fix: form initialValue is not defined #1291

pull/1297/head
tangjinzhou 5 years ago
parent b6656797fc
commit 35a65bc74c

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

Loading…
Cancel
Save