diff --git a/web/public/js/components/server/metric-charts.js b/web/public/js/components/server/metric-charts.js index 6fc4b1f8..86fb9709 100644 --- a/web/public/js/components/server/metric-charts.js +++ b/web/public/js/components/server/metric-charts.js @@ -17,7 +17,8 @@ Vue.component("metric-chart", { stats.push({ keys: ["其他"], value: stats[0].total - sum, - total: stats[0].total + total: stats[0].total, + time: stats[0].time }) } } @@ -324,6 +325,9 @@ Vue.component("metric-chart", { document.getElementById(this.chartId).innerHTML = table }, formatTime: function (time) { + if (time == null) { + return "" + } switch (this.vPeriodUnit) { case "month": return time.substring(0, 4) + "-" + time.substring(4, 6) diff --git a/web/views/@default/servers/components/waf/updateSetPopup.html b/web/views/@default/servers/components/waf/updateSetPopup.html index 8f01f170..d3fb5078 100644 --- a/web/views/@default/servers/components/waf/updateSetPopup.html +++ b/web/views/@default/servers/components/waf/updateSetPopup.html @@ -27,41 +27,11 @@ - 动作 - - -

匹配当前规则集后要执行的动作。

- - - - 下一个规则分组 - - -

当动作为"跳到下一个规则分组"时出现此选择。

- - - - 下一个规则分组 - - -

当动作为"跳到下一个规则集"时出现此选择。

- - - - 下一个规则集 - - -

当动作为"跳到下一个规则集"时出现此选择。

- - + 执行动作 * + + + + \ No newline at end of file diff --git a/web/views/@default/servers/server/log/index.js b/web/views/@default/servers/server/log/index.js index bd2e6f1b..5913a0eb 100644 --- a/web/views/@default/servers/server/log/index.js +++ b/web/views/@default/servers/server/log/index.js @@ -11,7 +11,8 @@ Tea.context(function () { this.$post("$") .params({ serverId: this.serverId, - requestId: this.requestId + requestId: this.requestId, + keyword: this.keyword }) .success(function (resp) { this.accessLogs = resp.data.accessLogs.concat(this.accessLogs)