From 4d54fbf6a6f33c2f0817b2582f66f1c95627d943 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Mon, 2 Feb 2026 15:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=8F=B0=E8=B4=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/EquipmentLedger/components/EquAnalysis.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/EquipmentLedger/components/EquAnalysis.vue b/src/views/EquipmentLedger/components/EquAnalysis.vue index 2fd25000..c90b47dd 100644 --- a/src/views/EquipmentLedger/components/EquAnalysis.vue +++ b/src/views/EquipmentLedger/components/EquAnalysis.vue @@ -155,11 +155,11 @@ export default { try { console.log('🚀 ~ this.queryParams:', this.queryParams) const res = await getTotalValueApi(this.queryParams) - this.priceData = res.data + this.priceData = res.data || {} const res2 = await getConfigurationRateApi(this.queryParams) - this.configData = res2.data + this.configData = res2.data || {} const res3 = await getEquipmentStatusApi(this.queryParams) - this.total = res3.data.total + this.total = res3.data.total || 0 const fieldMap = [ { name: '在库数量', key: 'availableNum' }, { name: '维修数量', key: 'repairNum' },