diff --git a/web/public/js/components.js b/web/public/js/components.js index 4ef956c3..2a2639d5 100755 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -3460,8 +3460,11 @@ Vue.component("metric-chart", { case "byte": value = teaweb.formatBytes(value) break + case "count": + value = teaweb.formatNumber(value) + break } - return stat.keys[0] + ": " + value + ",占比:" + percent + "%" + return stat.keys[0] + "
" + that.valueTypeName + ": " + value + "
占比:" + percent + "%" } }, series: [ @@ -3669,8 +3672,11 @@ Vue.component("metric-chart", { case "byte": value = teaweb.formatBytes(value) break + case "count": + value = teaweb.formatNumber(value) + break } - return stat.keys[0] + ": " + value + ",占比:" + percent + "%" + return stat.keys[0] + "
" + that.valueTypeName + ":" + value + "
占比:" + percent + "%" } }, yAxis: { @@ -4505,14 +4511,11 @@ Vue.component("origin-list-table", { {{origin.addr}}   -
- {{origin.name}} -
-
- {{domain}} -
-
- 证书 +
+ {{origin.name}} + 证书 + 主机名: {{origin.host}} + 匹配: {{domain}}
{{origin.weight}} @@ -11487,6 +11490,10 @@ Vue.component("grey-label", { template: `` }) +// 可选标签 +Vue.component("optional-label", { + template: `(可选)` +}) /** * 一级菜单