diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java index f3cac84f7b..6d3d4e9d56 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestReviewTestCaseService.java @@ -30,10 +30,11 @@ import io.metersphere.utils.ListUtil; import io.metersphere.xpack.version.service.ProjectVersionService; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang3.StringUtils; +import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import javax.annotation.Resource; +import jakarta.annotation.Resource; import java.util.*; import java.util.function.Consumer; import java.util.stream.Collectors; @@ -54,6 +55,7 @@ public class TestReviewTestCaseService { @Resource TestCaseReviewMapper testCaseReviewMapper; @Resource + @Lazy TestCaseReviewService testCaseReviewService; @Resource TestCaseMapper testCaseMapper; diff --git a/test-track/frontend/src/business/case/components/case/CaseBaseInfo.vue b/test-track/frontend/src/business/case/components/case/CaseBaseInfo.vue index c1919b6051..21fe936719 100644 --- a/test-track/frontend/src/business/case/components/case/CaseBaseInfo.vue +++ b/test-track/frontend/src/business/case/components/case/CaseBaseInfo.vue @@ -30,7 +30,7 @@ { + if (node.label === '未规划用例') { + defaultNodeKey = node.id; + } + }) + return defaultNodeKey; + } else { + return this.form.module + } + } }, mounted() { this.getDemandOptions(); diff --git a/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue b/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue index c8b82c8c40..c0c3230619 100644 --- a/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue +++ b/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue @@ -95,15 +95,6 @@ prop="description" /> -
- -
diff --git a/test-track/frontend/src/business/case/components/common/MsFileMetadataList.vue b/test-track/frontend/src/business/case/components/common/MsFileMetadataList.vue index 1554295def..0cd3555430 100644 --- a/test-track/frontend/src/business/case/components/common/MsFileMetadataList.vue +++ b/test-track/frontend/src/business/case/components/common/MsFileMetadataList.vue @@ -261,11 +261,6 @@ {{ $t("case.empty_file") }} -
- {{ - $t("case.upload_file") - }} -