diff --git a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue index 6a419494d9..c4bdf575ba 100644 --- a/frontend/src/business/components/api/automation/report/ApiReportDetail.vue +++ b/frontend/src/business/components/api/automation/report/ApiReportDetail.vue @@ -134,7 +134,7 @@ } } // 循环构建子节点 - for (let i in nodeArray) { + for (let i = 0;i < nodeArray.length;i++) { if (!nodeArray[i]) { continue; }