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 { // 新建