fix: 实体基数统计字段名称更改
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
<loading :loading="loadingCount" style="width: 240px"></loading>
|
<loading :loading="loadingCount" style="width: 240px"></loading>
|
||||||
<span>{{ summaryCount.total }} </span>results,IP
|
<span>{{ summaryCount.total }} </span>results,IP
|
||||||
<span>{{ summaryCount.ipCount }}</span>,Domain
|
<span>{{ summaryCount.ipCount }}</span>,Domain
|
||||||
<span>{{ summaryCount.fqdnCount }}</span>,APP
|
<span>{{ summaryCount.domainCount }}</span>,APP
|
||||||
<span>{{ summaryCount.appCount }}</span>
|
<span>{{ summaryCount.appCount }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -378,7 +378,7 @@ export default {
|
|||||||
timer: null, // 初始化标志的延时器,需要销毁
|
timer: null, // 初始化标志的延时器,需要销毁
|
||||||
summaryCount: {
|
summaryCount: {
|
||||||
total: 0,
|
total: 0,
|
||||||
fqdnCount: 0,
|
domainCount: 0,
|
||||||
ipCount: 0,
|
ipCount: 0,
|
||||||
appCount: 0
|
appCount: 0
|
||||||
},
|
},
|
||||||
@@ -736,11 +736,11 @@ export default {
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.summaryCount = response.data
|
this.summaryCount = response.data
|
||||||
} else {
|
} else {
|
||||||
this.summaryCount = { total: 0, fqdnCount: 0, ipCount: 0, appCount: 0 }
|
this.summaryCount = { total: 0, domainCount: 0, ipCount: 0, appCount: 0 }
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
this.summaryCount = { total: 0, fqdnCount: 0, ipCount: 0, appCount: 0 }
|
this.summaryCount = { total: 0, domainCount: 0, ipCount: 0, appCount: 0 }
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.loadingCount = false
|
this.loadingCount = false
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user