fix: form initialValue is not defined #1291
parent
b6656797fc
commit
35a65bc74c
|
@ -204,7 +204,7 @@ function createBaseForm(option = {}, mixins = []) {
|
||||||
!(
|
!(
|
||||||
!slotHasProp(fieldElem, valuePropName) &&
|
!slotHasProp(fieldElem, valuePropName) &&
|
||||||
valuePropName in originalProps &&
|
valuePropName in originalProps &&
|
||||||
!(fieldOption && initialValue in fieldOption)
|
!(fieldOption && 'initialValue' in fieldOption)
|
||||||
),
|
),
|
||||||
`${getComponentName(
|
`${getComponentName(
|
||||||
fieldElem.componentOptions,
|
fieldElem.componentOptions,
|
||||||
|
|
Loading…
Reference in New Issue