fix: 实体详情loading 判断调整
This commit is contained in:
@@ -468,6 +468,8 @@ export default {
|
||||
}
|
||||
}
|
||||
this.loadingLeft = false
|
||||
} else {
|
||||
this.loadingLeft = false
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -520,6 +522,8 @@ export default {
|
||||
if (response.code === 200) {
|
||||
this.entityAppTotal = response.data.result
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
get(api.entityTotal, { entityType: 'domain' }).then(response => {
|
||||
@@ -527,6 +531,8 @@ export default {
|
||||
if (response.code === 200) {
|
||||
this.entityDomainTotal = response.data.result
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
get(api.entityTotal, { entityType: 'ip' }).then(response => {
|
||||
@@ -534,6 +540,8 @@ export default {
|
||||
if (response.code === 200) {
|
||||
this.entityIpTotal = response.data.result
|
||||
this.loading = false
|
||||
} else {
|
||||
this.loading = false
|
||||
}
|
||||
})
|
||||
// New
|
||||
|
||||
Reference in New Issue
Block a user