From 3deab9ebb1c65fe03caac88d68ccaf362d3db1b3 Mon Sep 17 00:00:00 2001 From: duan Date: Fri, 2 Sep 2022 13:50:00 +0800 Subject: [PATCH] =?UTF-8?q?refactor(src/views/reagent/envrecord):=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reagent/envrecord/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/reagent/envrecord/index.vue b/src/views/reagent/envrecord/index.vue index 0f68fe9..4f072af 100644 --- a/src/views/reagent/envrecord/index.vue +++ b/src/views/reagent/envrecord/index.vue @@ -76,19 +76,19 @@ align="center" property="avg_wd" label="温度(取平均值)" - :formatter="(row, column) => row.avg_wd + ' °C'" + :formatter="(row, column) => row.avg_wd ? row.avg_wd + ' °C' : ''" />