mirror of
https://github.com/snowykami/server-status-web.git
synced 2025-09-07 05:06:23 +00:00
✨ 修复网速单位不对的问题
This commit is contained in:
@ -223,8 +223,7 @@ function onMountedFunc() {
|
|||||||
type: 'value',
|
type: 'value',
|
||||||
axisLabel: {
|
axisLabel: {
|
||||||
formatter: function (value: number) {
|
formatter: function (value: number) {
|
||||||
console.log(value)
|
return formatSizeByUnit(value*8, null, 'b')
|
||||||
return formatSizeByUnit(value, null, 'b')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user