From 3f01ef61e59933367569aa1ff883d1f1eb029933 Mon Sep 17 00:00:00 2001 From: ssongliu Date: Fri, 10 Mar 2023 13:46:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=95=B0=E6=8D=AE=E5=BA=93=E6=85=A2?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=AE=9E=E7=8E=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/en.ts | 5 +- frontend/src/lang/modules/zh.ts | 5 +- .../database/mysql/setting/slow-log/index.vue | 83 ++++++++++++------- 3 files changed, 58 insertions(+), 35 deletions(-) diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts index 262ebe515..eb6b47c4c 100644 --- a/frontend/src/lang/modules/en.ts +++ b/frontend/src/lang/modules/en.ts @@ -352,8 +352,9 @@ export default { slowLog: 'Slowlogs', noData: 'No slow log yet...', - isOn: 'Is on', - longQueryTime: 'Slow query threshold', + isOn: 'On', + longQueryTime: 'threshold(s)', + thresholdRangeHelper: 'Please enter the correct threshold (1 - 600).', status: 'The current state', baseParam: 'Basic parameter', diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 70177ee23..3b206857b 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -361,8 +361,9 @@ export default { slowLog: '慢日志', noData: '暂无慢日志...', - isOn: '是否开启', - longQueryTime: '慢查询阈值', + isOn: '开启', + longQueryTime: '阈值(秒)', + thresholdRangeHelper: '请输入正确的阈值(1 - 600)', status: '当前状态', terminal: '终端模式', diff --git a/frontend/src/views/database/mysql/setting/slow-log/index.vue b/frontend/src/views/database/mysql/setting/slow-log/index.vue index a0618d721..93f6d5690 100644 --- a/frontend/src/views/database/mysql/setting/slow-log/index.vue +++ b/frontend/src/views/database/mysql/setting/slow-log/index.vue @@ -1,32 +1,35 @@