From a5a8ba94c43025a7313e5ccbb50f7c40c89dd117 Mon Sep 17 00:00:00 2001 From: gaoyunqi Date: Thu, 18 Apr 2024 11:06:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E9=BB=98=E8=AE=A4=E8=A1=A8=E5=8D=95=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=89=80=E6=9C=89=E8=8A=82=E7=82=B9=E7=9A=84=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB/=E7=BC=96=E8=BE=91=E5=B1=9E=E6=80=A7=E4=BC=9A?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E8=81=94=E5=8A=A8=E7=BC=96=E8=BE=91=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/workflow/design/bpmn/config/property.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/workflow/design/bpmn/config/property.ts b/src/views/workflow/design/bpmn/config/property.ts index a86ba53..951bc9d 100644 --- a/src/views/workflow/design/bpmn/config/property.ts +++ b/src/views/workflow/design/bpmn/config/property.ts @@ -131,7 +131,7 @@ export const nodesAppendDefaultForm = (list: Array) => { if (value.type == BpmnNodeKey.START || value.type == BpmnNodeKey.USER) { const properties = bpmnStore.getProperties(key); if (properties) { - properties.formConfigs = [...properties.formConfigs, ...list]; + properties.formConfigs = [...properties.formConfigs, ...cloneDeep(list)]; setProperties(key, properties); } }