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) }) }) }