fix:修改首页刷新 告警规则数增加的问题

This commit is contained in:
zhangyu
2021-05-27 15:24:29 +08:00
parent bbb47767ec
commit 265cc163d8

View File

@@ -611,6 +611,7 @@ export default {
return new Promise(resolve => {
this.$get('stat/alertRule/total').then(response => {
if (response.code === 200) {
this.alertRuleData = 0
response.data.list.forEach(d => {
this.alertRuleData += d.num
})