fix: 修复网络概况 部分组件问题

This commit is contained in:
@changcode
2022-08-20 14:52:55 +08:00
parent 6ca3c96eb8
commit c4cf810011
6 changed files with 136 additions and 125 deletions

View File

@@ -295,7 +295,7 @@ export default {
label: {
formatter (params) {
const arr = unitConvert(params.value, unitTypes.number).join('')
return _this.echartsLabelValue + '(' + arr + 'packets/s' + ')'
return _this.echartsLabelValue + '(' + arr + echartsData[0].unitType + ')'
},
position: 'insideStartTop',
color: '#717171',