实现公用的统计指标

This commit is contained in:
GoEdgeLab
2021-07-19 15:23:20 +08:00
parent 2ffa16d488
commit 29eee20ce6
15 changed files with 47 additions and 6 deletions

View File

@@ -70,6 +70,7 @@ func (this *CreatePopupAction) RunGet(params struct {
"value": item.Value,
"valueName": serverconfigs.FindMetricValueName(item.Category, item.Value),
"category": item.Category,
"isPublic": item.IsPublic,
"isChecked": exists,
})
}

View File

@@ -49,6 +49,7 @@ func (this *IndexAction) RunGet(params struct {
"value": item.Value,
"valueName": serverconfigs.FindMetricValueName(item.Category, item.Value),
"category": item.Category,
"isPublic": item.IsPublic,
})
}
this.Data["items"] = itemMaps