diff --git a/backend/src/main/java/io/metersphere/track/service/IssuesService.java b/backend/src/main/java/io/metersphere/track/service/IssuesService.java index c870b72318..64e957ff34 100644 --- a/backend/src/main/java/io/metersphere/track/service/IssuesService.java +++ b/backend/src/main/java/io/metersphere/track/service/IssuesService.java @@ -393,6 +393,9 @@ public class IssuesService { private Map> getCaseSetMap(List issues) { List ids = issues.stream().map(Issues::getId).collect(Collectors.toList()); Map>map = new HashMap<>(); + if(ids.size()==0){ + return map; + } TestCaseIssuesExample example = new TestCaseIssuesExample(); example.createCriteria().andIssuesIdIn(ids); List testCaseIssues = testCaseIssuesMapper.selectByExample(example); diff --git a/frontend/src/business/components/track/issue/IssueList.vue b/frontend/src/business/components/track/issue/IssueList.vue index cc4ca7fd7b..d5105da320 100644 --- a/frontend/src/business/components/track/issue/IssueList.vue +++ b/frontend/src/business/components/track/issue/IssueList.vue @@ -298,7 +298,6 @@ export default { return {text: u.name, value: u.id}; }); }); - }, handleEdit(data) { this.$refs.issueEdit.open(data, 'edit'); diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 3a784a9dcc..ae594be2b7 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 3a784a9dcc3616f263faeea49ce0141b30832f11 +Subproject commit ae594be2b7193b90a0f25c86d6ab8c78c930baa3