From 9734ec099396da2036f0508d97e00f61373aa5d1 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 15 Aug 2019 22:12:50 +0800 Subject: [PATCH] fix: form warning #1076 --- components/vc-form/src/createBaseForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-form/src/createBaseForm.jsx b/components/vc-form/src/createBaseForm.jsx index 3a80c5174..4fd0776a9 100644 --- a/components/vc-form/src/createBaseForm.jsx +++ b/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,