mirror of
https://github.com/snowykami/server-status-web.git
synced 2025-06-09 16:35:28 +00:00
✨ 修复网速单位不对的问题
This commit is contained in:
parent
84155ccedd
commit
5b2fd20c79
@ -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')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user