From c963e03a60a41a1cbbb39a05a7b9337b97440589 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 22 Jun 2022 14:07:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E5=9C=BA=E6=99=AF=E6=AD=A5=E9=AA=A4=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/EditApiScenario.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index bbfddb4da7..ddb93f4d18 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -1248,7 +1248,6 @@ export default { step.index = !isGeneric ? Number(i) + 1 : step.index; if (step.type === 'GenericController') { this.pluginOrder(step); - isGeneric = true; } step.resourceId = step.resourceId || getUUID(); // 历史数据处理 @@ -1270,7 +1269,7 @@ export default { // 添加debug结果 step.parentIndex = fullPath ? fullPath + "_" + step.index : step.index; if (step.hashTree && step.hashTree.length > 0) { - this.recursionStep(step.hashTree, step.projectId, step.parentIndex, isGeneric); + this.recursionStep(step.hashTree, step.projectId, step.parentIndex, step.type === 'GenericController'); } } },