mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): 修复断言添加子字段无效的缺陷
--bug=1019419 --user=王孝刚 【接口测试】github#19488,接口自动化TEST界面断言文档结构时“添加子字段”按钮功能无效 https://www.tapd.cn/55049933/s/1289916
This commit is contained in:
parent
29755b7094
commit
a66a70e7d8
@ -481,7 +481,7 @@ export default {
|
||||
let newRow = this.getNewRow();
|
||||
newRow.idList = [row.id, newRow.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);
|
||||
} else {
|
||||
this.getChild(this.originalData, row);
|
||||
|
Loading…
Reference in New Issue
Block a user