fix(接口测试): 修复断言添加子字段无效的缺陷
--bug=1019419 --user=王孝刚 【接口测试】github#19488,接口自动化TEST界面断言文档结构时“添加子字段”按钮功能无效 https://www.tapd.cn/55049933/s/1289916
This commit is contained in:
parent
fa34b832e3
commit
487aaa5c6e
|
@ -481,7 +481,7 @@ export default {
|
||||||
let newRow = this.getNewRow();
|
let newRow = this.getNewRow();
|
||||||
newRow.idList = [row.id, newRow.id];
|
newRow.idList = [row.id, newRow.id];
|
||||||
newRow.parentId = row.id;
|
newRow.parentId = row.id;
|
||||||
if (this.mapData.has(row.id) && this.mapData.get(row.id).length > 0) {
|
if (this.mapData.has(row.id)) {
|
||||||
this.mapData.get(row.id).push(newRow);
|
this.mapData.get(row.id).push(newRow);
|
||||||
} else {
|
} else {
|
||||||
this.getChild(this.originalData, row);
|
this.getChild(this.originalData, row);
|
||||||
|
|
Loading…
Reference in New Issue