From e1fc9039b2641fa33e99d76d7e67ea3ee819515d Mon Sep 17 00:00:00 2001 From: jason <2667446@qq.com> Date: Mon, 13 May 2024 09:32:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BF=E9=92=89=E9=92=89=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8-=20bug=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/nodes-config/ConditionNodeConfig.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue index 424268cc..6cc5482e 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes-config/ConditionNodeConfig.vue @@ -162,7 +162,7 @@ const formType = inject>('formType') // 表单类型 const conditionConfigTypes = computed( ()=> { return CONDITION_CONFIG_TYPES.filter(item => { - // 业务表单暂时去掉条件规则 选项 + // 业务表单暂时去掉条件规则选项 if (formType?.value !== 10 ){ return item.value === 1 } else { @@ -350,9 +350,10 @@ const deleteConditionRule = (condition:Condition, idx:number) => { condition.rules.splice(idx, 1) } -const fieldsInfo : any[] = []; +let fieldsInfo : any[] = []; const getFieldsInfo = () => { + fieldsInfo = []; if(formFields){ formFields.value.forEach((fieldStr: string) => { const { field, title, type } = JSON.parse(fieldStr)