fix (接口定义): 修复case执行问题

This commit is contained in:
fit2-zhao 2021-09-13 14:46:17 +08:00 committed by fit2-zhao
parent ec9f05c7b9
commit 2a71b9bfcb
1 changed files with 2 additions and 1 deletions

View File

@ -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) {