fix: 增加loading
This commit is contained in:
parent
25792a7c06
commit
0c8089063f
|
@ -312,6 +312,7 @@ export default {
|
|||
start: this.queryParams.startDate,
|
||||
end: this.queryParams.endDate,
|
||||
}
|
||||
const hide = this.$message.loading('loading...', 0)
|
||||
getAction('/systemMonitor/queryHostDetails', params).then((res) => {
|
||||
this.list = res.result
|
||||
this.listData = {
|
||||
|
@ -373,6 +374,8 @@ export default {
|
|||
this.drawRanked()
|
||||
this.drawProcesCpu()
|
||||
this.drawProcesMenbry()
|
||||
}).finally(() => {
|
||||
hide()
|
||||
})
|
||||
},
|
||||
getBeforeHours(num) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user