调整代码

This commit is contained in:
Mrtangl 2022-04-21 12:08:46 +08:00
parent e5019209a5
commit c3bf3b0ba1
1 changed files with 0 additions and 5 deletions

View File

@ -206,11 +206,6 @@ const getSystemCache = async () => {
1024 1024
).toFixed(2) ).toFixed(2)
statisticalData.memoryChartOption.series[0].detail.formatter = '{value}' + 'M' statisticalData.memoryChartOption.series[0].detail.formatter = '{value}' + 'M'
console.log(res.info.used_memory_human, '-------------------------+')
console.log(
(res.info.used_memory / 1024 / 1024).toFixed(2),
'-------------------------+'
)
}) })
.catch((err: any) => { .catch((err: any) => {
console.log('err', err) console.log('err', err)