From 2c544c6ed78df44484871877122433acfb2569cf Mon Sep 17 00:00:00 2001 From: miaojiale <1123971748@qq.com> Date: Mon, 12 Jun 2023 11:30:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=8E=A5=E5=8F=A3=E8=BF=94?= =?UTF-8?q?=E5=9B=9Eoverall=E4=B8=BAnull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qualitycontrol-report/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/qualitycontrol-report/index.vue b/src/views/qualitycontrol-report/index.vue index 21bdb68..5475d5c 100644 --- a/src/views/qualitycontrol-report/index.vue +++ b/src/views/qualitycontrol-report/index.vue @@ -8,7 +8,7 @@ <el-row :gutter="20" class="data-box"> <el-col v-for="(item, index) in totalList" :key="index" :span="6"> <div class="grid-content mb-12">{{ item.label }}</div> - <h1>{{ totalData[item.prop] }}</h1> + <h1>{{ totalData ? totalData[item.prop] : 0 }}</h1> </el-col> </el-row> </div> -- 2.22.0