From 79092a4ba56f15fce1faecf7d116c8f84c2ecf85 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Fri, 24 May 2024 17:31:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BC=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CostEntry/components/feeTable.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/CostEntry/components/feeTable.vue b/src/components/CostEntry/components/feeTable.vue index 98d27412..9740c2ec 100644 --- a/src/components/CostEntry/components/feeTable.vue +++ b/src/components/CostEntry/components/feeTable.vue @@ -154,6 +154,10 @@ } const init = (ids, source) => { if (ids.length) { + if (ids[0] == undefined) { + feeData.value = [] + return + } if (source == 'history') { getFeeList(ids[0]) }