修复网速单位不对的问题

This commit is contained in:
远野千束 2024-10-03 19:47:08 +08:00
parent 84155ccedd
commit 5b2fd20c79

View File

@ -223,8 +223,7 @@ function onMountedFunc() {
type: 'value',
axisLabel: {
formatter: function (value: number) {
console.log(value)
return formatSizeByUnit(value, null, 'b')
return formatSizeByUnit(value*8, null, 'b')
}
}
}