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