fix: 实体详情loading 判断调整

This commit is contained in:
@changcode
2022-04-28 11:24:04 +08:00
parent 31ef8a276b
commit 8eb26abe10
4 changed files with 19 additions and 1 deletions

View File

@@ -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