From 6f6ec109e4ebc16ef022a385600b8a4106c95bd8 Mon Sep 17 00:00:00 2001 From: guoyue Date: Thu, 22 Sep 2022 09:24:17 +0800 Subject: [PATCH] =?UTF-8?q?fix-=E9=A6=96=E9=A1=B5=EF=BC=9A=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E5=8D=95=E5=85=B5=E8=AE=BE=E5=A4=87=E6=97=A0=E4=BA=BA?= =?UTF-8?q?=E6=9C=BA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/newHome/components/CapabilityConvergence.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/front/src/views/newHome/components/CapabilityConvergence.vue b/front/src/views/newHome/components/CapabilityConvergence.vue index 202d3479..de1ed9f5 100644 --- a/front/src/views/newHome/components/CapabilityConvergence.vue +++ b/front/src/views/newHome/components/CapabilityConvergence.vue @@ -166,6 +166,9 @@ const getAppResources = (type, obj) => { name: '无人机', num: total, }) + }).catch(err => { + console.log('err--无人机---------->', err); + }) getSoldierData('单兵设备').then(res => { let { total = 0 } = res.data.data; @@ -173,6 +176,9 @@ const getAppResources = (type, obj) => { name: '单兵设备', num: total, }) + }).catch(err => { + console.log('err--单兵设备---------->', err); + }) } }) @@ -213,11 +219,8 @@ const getSoldierData = (name) => { if (res.data.code !== 0) { return message.error(res.data.msg) } - - console.log('total------------>', total); }).catch(err => { reject(err) - message.error(err) }) }) }