From 40b9babf6208642fae5ca30c2f3ac4b3cc915829 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Wed, 16 Oct 2024 14:31:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=BB=E7=BB=9F&=E7=BB=84=E7=BB=87):=20?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=BB=84=E7=BB=87=E6=9B=B4=E6=96=B0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E7=BC=96=E8=BE=91=E8=B5=84=E6=BA=90=E6=B1=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/api-test/management/components/moduleTree.vue | 5 ++--- .../organization/project/components/addProjectModal.vue | 1 + .../organizationAndProject/components/addProjectModal.vue | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/api-test/management/components/moduleTree.vue b/frontend/src/views/api-test/management/components/moduleTree.vue index eb5ee83308..c71c6a6bc1 100644 --- a/frontend/src/views/api-test/management/components/moduleTree.vue +++ b/frontend/src/views/api-test/management/components/moduleTree.vue @@ -442,7 +442,6 @@ protocols: selectedProtocols.value, projectId: appStore.currentProjectId, moduleIds: [], - // TODO 后台测试 shareId: props.docShareId, }); res = mapTree(res, (node) => ({ @@ -453,8 +452,8 @@ hideMoreAction: node.id === 'root' || !!props.docShareId, })); - // 过滤count为0 且类型为 MODULE 的节点 TODO 后台测试用 先不过滤 - // res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE')); + // 过滤count为0 且类型为 MODULE 的节点 + res = filterTree(res, (node) => !(node.count === 0 && node.type === 'MODULE')); return res; } diff --git a/frontend/src/views/setting/organization/project/components/addProjectModal.vue b/frontend/src/views/setting/organization/project/components/addProjectModal.vue index cf7ced4a96..8a45c1468b 100644 --- a/frontend/src/views/setting/organization/project/components/addProjectModal.vue +++ b/frontend/src/views/setting/organization/project/components/addProjectModal.vue @@ -307,6 +307,7 @@ form.organizationId = props.currentProject.organizationId; form.moduleIds = props.currentProject.moduleIds; form.resourcePoolIds = props.currentProject.resourcePoolIds; + form.allResourcePool = props.currentProject.allResourcePool; } } else { // 新建 diff --git a/frontend/src/views/setting/system/organizationAndProject/components/addProjectModal.vue b/frontend/src/views/setting/system/organizationAndProject/components/addProjectModal.vue index cae027fb55..3373778d8b 100644 --- a/frontend/src/views/setting/system/organizationAndProject/components/addProjectModal.vue +++ b/frontend/src/views/setting/system/organizationAndProject/components/addProjectModal.vue @@ -302,6 +302,7 @@ form.organizationId = props.currentProject.organizationId; form.moduleIds = props.currentProject.moduleIds; form.resourcePoolIds = props.currentProject.resourcePoolIds; + form.allResourcePool = props.currentProject.allResourcePool; } } else { // 新建