调整代码
This commit is contained in:
parent
e5019209a5
commit
c3bf3b0ba1
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue