From 17b24f20b11e16bee755edef9d02aaa2a7973928 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Fri, 4 Jun 2021 10:42:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E4=B8=A4=E4=B8=AA=E4=B8=8D=E5=90=8C=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E5=88=A4=E6=96=AD=E5=BC=95=E8=B5=B7=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复前端两个不同数据类型的判断引起的缺陷 --- .../components/api/automation/report/ApiReportDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }