diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue index da0bdec0e5..b2094a81f3 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseList.vue @@ -399,7 +399,8 @@ export default { this.runData.push(row.request); /*触发执行操作*/ this.reportId = getUUID().substring(0, 8); - this.$emit("refreshCase", row.id); + this.testCaseId = row.id ? row.id : row.request.id; + this.$emit("refreshCase", this.testCaseId); }, stop(id) {