diff --git a/api-test/frontend/src/business/definition/components/assertion/document/DocumentBody.vue b/api-test/frontend/src/business/definition/components/assertion/document/DocumentBody.vue index 3b20de181d..37dae10314 100644 --- a/api-test/frontend/src/business/definition/components/assertion/document/DocumentBody.vue +++ b/api-test/frontend/src/business/definition/components/assertion/document/DocumentBody.vue @@ -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);