From f8f4578c6c96259f418264e5f8aedeb1a99d0ca3 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 13 Nov 2021 17:06:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=8A=A5=E5=91=8A=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../performance/report/components/LogDetails.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/performance/report/components/LogDetails.vue b/frontend/src/business/components/performance/report/components/LogDetails.vue index 6b46f02014..2e1d7a1769 100644 --- a/frontend/src/business/components/performance/report/components/LogDetails.vue +++ b/frontend/src/business/components/performance/report/components/LogDetails.vue @@ -5,10 +5,10 @@ + v-for="item in resource" + :key="item.resourceId" + :label="item.resourceName" + :value="item.resourceId"> @@ -73,7 +73,7 @@ export default { this.init = false; } if (!this.currentInstance) { - this.currentInstance = this.resource[0].resourceId; + this.currentInstance = this.resource[0]?.resourceId; } this.page = data.map(item => item.resourceId).reduce((result, curr) => { result[curr] = 1;