sqltest
时启龙 2024-07-25 12:24:57 +08:00
parent a231bb9520
commit 8af23b331a
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
.DS_Store
node_modules
/scr-web
*.zip
# local env files

View File

@ -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() {