diff --git a/internal/web/actions/default/clusters/cluster/node/logs.go b/internal/web/actions/default/clusters/cluster/node/logs.go index 35b6b552..22a8870d 100644 --- a/internal/web/actions/default/clusters/cluster/node/logs.go +++ b/internal/web/actions/default/clusters/cluster/node/logs.go @@ -30,7 +30,7 @@ func (this *LogsAction) RunGet(params struct { return } count := countResp.Count - page := this.NewPage(count) + page := this.NewPage(count, 20) logsResp, err := this.RPC().NodeLogRPC().ListNodeLogs(this.AdminContext(), &pb.ListNodeLogsRequest{ NodeId: params.NodeId, diff --git a/web/public/js/components/server/http-access-log-config-box.js b/web/public/js/components/server/http-access-log-config-box.js index d59c5665..e48aa9d0 100644 --- a/web/public/js/components/server/http-access-log-config-box.js +++ b/web/public/js/components/server/http-access-log-config-box.js @@ -108,7 +108,7 @@ Vue.component("http-access-log-config-box", { - + 选择输出的日志策略 暂时还没有缓存策略。 @@ -120,7 +120,7 @@ Vue.component("http-access-log-config-box", { - + 是否只输出到日志策略
diff --git a/web/views/@default/db/createPopup.html b/web/views/@default/db/createPopup.html index 05dcd8a5..333a0eba 100644 --- a/web/views/@default/db/createPopup.html +++ b/web/views/@default/db/createPopup.html @@ -29,7 +29,7 @@ 数据库名称(Database) * -

要写入日志的数据库名称,需要有创建新表和读写数据的权限。

+

要写入日志的数据库名称,需要事先创建好,而且需要有创建新表和读写数据的权限。建议命名为edge_logs。

diff --git a/web/views/@default/db/updatePopup.html b/web/views/@default/db/updatePopup.html index 4ba79feb..e7a4a9d5 100644 --- a/web/views/@default/db/updatePopup.html +++ b/web/views/@default/db/updatePopup.html @@ -30,7 +30,7 @@ 数据库名称(Database) * -

要写入日志的数据库名称,需要有创建新表和读写数据的权限。

+

要写入日志的数据库名称,需要事先创建好,而且需要有创建新表和读写数据的权限。建议命名为edge_logs。

diff --git a/web/views/@default/servers/server/settings/locations/location/index.html b/web/views/@default/servers/server/settings/locations/location/index.html index 7ed87938..a637662b 100644 --- a/web/views/@default/servers/server/settings/locations/location/index.html +++ b/web/views/@default/servers/server/settings/locations/location/index.html @@ -42,15 +42,6 @@

可以用来说明此规则用途。。

- - 是否启用 - -
- - -
- - @@ -81,6 +72,15 @@ + + 是否启用 + +
+ + +
+ +