diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java index b0ebc86c4e..4f0be0ba72 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseNodeService.java @@ -218,6 +218,8 @@ public class TestCaseNodeService extends NodeTreeService { } public List getNodeTreeByProjectId(String projectId, QueryTestCaseRequest request) { + boolean queryUi = DiscoveryUtil.hasService(MicroServiceName.UI_TEST); + request.setQueryUi(queryUi); this.setRequestWeekParam(request); // 判断当前项目下是否有默认模块,没有添加默认模块 this.getDefaultNode(projectId);