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 @@