mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-27 12:39:01 +08:00
feat: 删除多余代码 (#6463)
This commit is contained in:
parent
d2ca265cc2
commit
1dfbca3d5b
@ -461,11 +461,6 @@ const onLoadCurrentInfo = async (scope: string) => {
|
||||
res.data.netBytesSent - currentInfo.value.netBytesSent > 0
|
||||
? Number(((res.data.netBytesSent - currentInfo.value.netBytesSent) / 1024 / timeInterval).toFixed(2))
|
||||
: 0;
|
||||
console.log('value', res.data.netBytesSent - currentInfo.value.netBytesSent);
|
||||
console.log(
|
||||
'number',
|
||||
Number(((res.data.netBytesSent - currentInfo.value.netBytesSent) / 1024 / timeInterval).toFixed(2)),
|
||||
);
|
||||
netBytesSents.value.push(currentChartInfo.netBytesSent);
|
||||
|
||||
if (netBytesSents.value.length > 20) {
|
||||
|
Loading…
Reference in New Issue
Block a user