From 7dcdfabce209e8009d41d13ed93f44947fd71b73 Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Mon, 9 Sep 2024 16:23:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8D=95=E4=BD=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perfManage/kpiCReport/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/perfManage/kpiCReport/index.vue b/src/views/perfManage/kpiCReport/index.vue index d3bf8af3..1f07224c 100644 --- a/src/views/perfManage/kpiCReport/index.vue +++ b/src/views/perfManage/kpiCReport/index.vue @@ -266,7 +266,7 @@ function fnGetListTitle() { tableColumns.value = []; const columns: ColumnsType = []; for (const item of res.data) { - const kpiDisplay = item[`title`] + `(${item['unit']})`; + const kpiDisplay = item[`unit`]? item[`title`]+ `(${item['unit']})`:item[`title`]; const kpiValue = item[`kpiId`]; columns.push({ title: kpiDisplay,