From 337e4612f33b3802b575d97431936e3733f33b1d Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Mon, 15 Jul 2019 14:16:08 +0800 Subject: [PATCH] =?UTF-8?q?contorl=20=E4=BF=AE=E6=94=B9=E4=BA=86=E4=BD=86?= =?UTF-8?q?=E6=98=AF=E6=B2=A1=E4=BD=BF=E7=94=A8=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderers/Form/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/index.tsx b/src/renderers/Form/index.tsx index f49ac2d7..4ec3dff1 100644 --- a/src/renderers/Form/index.tsx +++ b/src/renderers/Form/index.tsx @@ -805,7 +805,7 @@ export default class Form extends React.Component { if (subSchema.control) { let control = subSchema.control as Schema; if (control.$ref) { - control = { + subSchema.control = control = { ...resolveDefinitions(control.$ref), ...control }