From 342b0455cea6d6fc363d1072853a8a49770d9c6a Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 23 Mar 2022 18:12:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8A=A5=E5=91=8A=E9=A1=B5=E9=9D=A2=E5=81=B6?= =?UTF-8?q?=E5=B0=94=E5=87=BA=E7=8E=B0=E5=BC=B9=E6=A1=86=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1011382 --user=刘瑞斌 【性能测试】 -首次执行后,点击再次执行页面会出现报错提示 https://www.tapd.cn/55049933/s/1124718 Closes #11601 --- .../components/performance/report/components/LogDetails.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/performance/report/components/LogDetails.vue b/frontend/src/business/components/performance/report/components/LogDetails.vue index 658825c424..64604bb08e 100644 --- a/frontend/src/business/components/performance/report/components/LogDetails.vue +++ b/frontend/src/business/components/performance/report/components/LogDetails.vue @@ -100,7 +100,9 @@ export default { }, handleGetLogResourceDetail(data, resourceId) { data.listObject.forEach(log => { - this.logContent[resourceId].push(log); + if (this.logContent[resourceId]) { + this.logContent[resourceId].push(log); + } }); this.page[resourceId]++; this.loading = false;