IP地址详情中增加区域监控雷达图、数据列表

This commit is contained in:
刘祥超
2021-09-15 17:54:03 +08:00
parent a885fdbea7
commit 6e36528f35
8 changed files with 164 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
Tea.context(function () {
this.results.forEach(function (v) {
switch (v.level) {
case "good":
v.color = "green"
break
case "normal":
v.color = "blue"
break
case "bad":
v.color = "orange"
break
case "broken":
v.color = "red"
break
}
})
})