fix:修改首页刷新 告警规则数增加的问题
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user