| src/views/home/components/rightContainer.vue | ●●●●● patch | view | raw | blame | history |
src/views/home/components/rightContainer.vue
@@ -479,9 +479,9 @@ let faultData = { value: 0, name: '离线', color: '#ffd600', online: false, label: { color: oneColor[2] } } res.data.forEach(item => { this.regionTotal += item.count this.regionTotal = Number(this.regionTotal) + Number(item.count) normalData.value += item.online normalData.value = Number(normalData.value) + Number(item.online) for (let key in typeData) { if (item.type == typeData[key]) {