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 8aeea7a2e5..d4471da622 100644 --- a/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue +++ b/test-track/frontend/src/business/case/components/case/CaseIssueEditDetail.vue @@ -459,7 +459,7 @@ export default { optionMethod: data.optionMethod, workspaceId: getCurrentWorkspaceId(), platform: this.issueTemplate.platform, - projectId: this.form.projectId, + projectId: this.form.projectId ? this.form.projectId : this.projectId, query }).then((r) => { data.options = r.data; diff --git a/test-track/frontend/src/business/issue/IssueEditDetail.vue b/test-track/frontend/src/business/issue/IssueEditDetail.vue index c4c4a1d187..4ce3f0a6c9 100644 --- a/test-track/frontend/src/business/issue/IssueEditDetail.vue +++ b/test-track/frontend/src/business/issue/IssueEditDetail.vue @@ -748,7 +748,7 @@ export default { optionMethod: data.optionMethod, workspaceId: getCurrentWorkspaceId(), platform: this.issueTemplate.platform, - projectId: this.form.projectId, + projectId: this.form.projectId ? this.form.projectId : this.projectId, query }).then((r) => { data.options = r.data;