fix: 场景用例步骤复制时候插入在当前步骤下面 (#1570)

* feat(测试跟踪): 测试用例下载模版增加标签列

* fix(接口定义): 扩大请求头键长度

* feat(场景步骤、环境配置): 场景变量、环境配置支持mock参数

* fix: 场景用例步骤复制时候插入在当前步骤下面
This commit is contained in:
Coooder-X 2021-03-05 17:31:52 +08:00 committed by GitHub
parent 595a594d50
commit 2cb7aa6256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}