From 2a71b9bfcbd186517b6420d614d80bec425d2927 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Mon, 13 Sep 2021 14:46:17 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8Dcase=E6=89=A7=E8=A1=8C=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/definition/components/case/ApiCaseList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {