From 970955d323d5fe4683917988a0fad2f8de58a4ed Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Sun, 24 Apr 2022 14:11:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=BA=E6=99=AF=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E4=B8=8D=E5=B1=95=E7=A4=BA=E6=9C=AA=E6=89=A7=E8=A1=8C=E7=9A=84?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/report/components/MetricChart.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/report/components/MetricChart.vue b/frontend/src/business/components/api/automation/report/components/MetricChart.vue index e269795117..703b0a0775 100644 --- a/frontend/src/business/components/api/automation/report/components/MetricChart.vue +++ b/frontend/src/business/components/api/automation/report/components/MetricChart.vue @@ -276,8 +276,8 @@ export default { return this.report.reportType && this.report.reportType.startsWith("UI"); }, showUnExecuteReport() { - return this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0 - && this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0; + return (this.content.scenarioStepUnExecuteReport && this.content.scenarioStepUnExecuteReport > 0) + || (this.content.scenarioUnExecute && this.content.scenarioUnExecute > 0); } }, }