From 7559892ab64bca396eaf970cbaffc535f1273029 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Wed, 22 Jan 2025 13:05:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A0=87=E9=A2=98=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/formControlPropertiNew.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index 930bb6d..ab8cdad 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -2425,7 +2425,7 @@ function getAssociatedFormsCurrentFieldTree1() { let resDataExceptSystemFields = JSON.parse(JSON.stringify(data.children)); let currentFormChildTableFields = JSON.parse(JSON.stringify(data.children)); let resDataNoTable = JSON.parse(JSON.stringify(data.children)); - + let resDataNoTableNoAsf = JSON.parse(JSON.stringify(data.children)); resDataExceptSystemFields = removeFirstNumElements(resDataExceptSystemFields, 8); resDataExceptSystemFields.forEach((element: any) => { if (element.type == "table") { @@ -2472,15 +2472,19 @@ function getAssociatedFormsCurrentFieldTree1() { resDataNoTable = resDataNoTable.filter( (item: { type: string | null }) => item.type != "table" ); + resDataNoTableNoAsf = resDataNoTable.filter( + (item: { type: string | null }) => item.type != "associatedForms"&&item.type != "table" + ); associatedFormsCurrentFormFieldTreeNoTable.value = [ { id: "rootid_" + data.label, label: "当前表单-" + data.treeAttrs.show, - children: [...resDataNoTable], + children: [...resDataNoTableNoAsf], treeAttrs: data.treeAttrs, }, ]; + associatedFormsCurrentFormFieldTreeNoTable1.value = [...resDataNoTable] let resDataForGlxxsz = ref(data.children.slice(8));