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">