From 2cb7aa6256d4b5489422ed81837ae36017b1ff9c Mon Sep 17 00:00:00 2001 From: Coooder-X <55648333+Coooder-X@users.noreply.github.com> Date: Fri, 5 Mar 2021 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=BA=E6=99=AF=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=E5=A4=8D=E5=88=B6=E6=97=B6=E5=80=99=E6=8F=92?= =?UTF-8?q?=E5=85=A5=E5=9C=A8=E5=BD=93=E5=89=8D=E6=AD=A5=E9=AA=A4=E4=B8=8B?= =?UTF-8?q?=E9=9D=A2=20(#1570)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(测试跟踪): 测试用例下载模版增加标签列 * fix(接口定义): 扩大请求头键长度 * feat(场景步骤、环境配置): 场景变量、环境配置支持mock参数 * fix: 场景用例步骤复制时候插入在当前步骤下面 --- .../components/api/automation/scenario/EditApiScenario.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 57358447bf..a006356187 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -662,7 +662,7 @@ } const index = hashTree.findIndex(d => d.resourceId === row.resourceId); if (index != -1) { - hashTree.splice(index, 0, obj); + hashTree.splice(index+1, 0, obj); } else { hashTree.push(obj); }