fix: m
parent
a231bb9520
commit
8af23b331a
|
@ -1,6 +1,7 @@
|
|||
.DS_Store
|
||||
node_modules
|
||||
/scr-web
|
||||
*.zip
|
||||
|
||||
|
||||
# local env files
|
||||
|
|
|
@ -43,7 +43,7 @@ export default {
|
|||
async getRealTimeData() {
|
||||
const res = await getRealTimeUtilization()
|
||||
if (res?.status !== 'success') return
|
||||
const value = res.data?.result?.[0]?.value[1] * 1 || 0
|
||||
const value = res.data?.result?.[0]?.value[1] * 100 || 0
|
||||
this.used = value.toFixed(2)
|
||||
},
|
||||
getRealTimeUesdView() {
|
||||
|
|
Loading…
Reference in New Issue