Browse Source

feat: 删除多余代码 (#6463)

pull/6407/head v1.10.15-lts
zhengkunwang 2 months ago committed by GitHub
parent
commit
1dfbca3d5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      frontend/src/views/home/index.vue

5
frontend/src/views/home/index.vue

@ -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…
Cancel
Save