From 9200b2660fd701812eeb073e851b86dc9dbf0539 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Mon, 24 Oct 2022 11:54:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E9=94=99=E8=AF=AF=E7=9A=84=E6=8B=BC=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更正错误的拼写 --- .../comonents/api/TestPlanApiScenarioList.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue index 93d2eaebc1..c5fb00a7b1 100644 --- a/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/api/TestPlanApiScenarioList.vue @@ -484,14 +484,20 @@ export default { mode: "serial" }; if (this.planId) { + this.loading = true; testPlanScenarioCaseRun(param) .then((response) => { - this.runVisible = true; - if (response.data && response.data.length > 0) { - this.reportId = response.data[0].reportId; - } - this.search(); - }); + setTimeout(() => { + this.loading = false; + this.runVisible = true; + if (response.data && response.data.length > 0) { + this.reportId = response.data[0].reportId; + } + this.search(); + }, 2000) + }).catch(() => { + this.loading = false; + }); } }, buildExecuteParam(param, row) {