From 37da667c08984706d15bfbd5d490683c473a2276 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 25 Nov 2021 09:56:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E5=9C=BA=E6=99=AF=E5=88=97=E8=A1=A8=E7=82=B9?= =?UTF-8?q?=E5=87=BBID=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008213 --user=赵勇 没有操作的时候也弹了这个框 https://www.tapd.cn/55049933/s/1074849 --- .../components/api/automation/ApiAutomation.vue | 3 ++- .../api/automation/scenario/ApiScenarioList.vue | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index 95ceae2b7f..ba751d4512 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -427,7 +427,7 @@ export default { } }, editScenario(row) { - const index = this.tabs.find(p => p.currentScenario.id === row.id); + const index = this.tabs.find(p => p.currentScenario.id === row.id && p.currentScenario.copy === row.copy); if (!index) { this.addTab({name: 'edit', currentScenario: row}); } else { @@ -486,6 +486,7 @@ export default { /deep/ .el-tabs__header { margin: 0 0 0px; } + /deep/ .el-table__empty-block { width: 100%; min-width: 100%; diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 3287f4dd12..0488f7f838 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -52,7 +52,6 @@ :fields-width="fieldsWidth" min-width="120px">