fix: 场景用例步骤复制时候插入在当前步骤下面 (#1570)
* feat(测试跟踪): 测试用例下载模版增加标签列 * fix(接口定义): 扩大请求头键长度 * feat(场景步骤、环境配置): 场景变量、环境配置支持mock参数 * fix: 场景用例步骤复制时候插入在当前步骤下面
This commit is contained in:
parent
595a594d50
commit
2cb7aa6256
|
@ -662,7 +662,7 @@
|
||||||
}
|
}
|
||||||
const index = hashTree.findIndex(d => d.resourceId === row.resourceId);
|
const index = hashTree.findIndex(d => d.resourceId === row.resourceId);
|
||||||
if (index != -1) {
|
if (index != -1) {
|
||||||
hashTree.splice(index, 0, obj);
|
hashTree.splice(index+1, 0, obj);
|
||||||
} else {
|
} else {
|
||||||
hashTree.push(obj);
|
hashTree.push(obj);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue