From ee3125a6e4734ff3f812e54b94efdf522f673915 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 30 Aug 2024 12:28:36 +0800 Subject: [PATCH] =?UTF-8?q?perf(X-Pack):=20=E9=98=88=E5=80=BC=E5=91=8A?= =?UTF-8?q?=E8=AD=A6=E8=AE=B0=E5=BD=95=E5=AE=9A=E6=97=B6=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/zh-CN.ts | 1 + .../src/views/system/parameter/basic/BasicEdit.vue | 4 ++-- de-xpack | 2 +- .../main/java/io/dataease/constant/XpackSettingConstants.java | 1 + .../src/main/java/io/dataease/utils/SystemSettingUtils.java | 3 ++- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index f5067cad1a..b38c04dad3 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2442,6 +2442,7 @@ export default { dsExecuteTime: '数据源检测频率', frontTimeOut: '请求超时时间(秒)', logLiveTime: '操作日志保留时间(天)', + thresholdLogLiveTime: '阈值告警记录保留时间(天)', exportFileLiveTime: '后台导出文件保留时间(天)', platformOid: '第三方平台用户组织', platformRid: '第三方平台用户角色', diff --git a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue index 588d3526cd..7cd0a12c6d 100644 --- a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue +++ b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue @@ -124,7 +124,7 @@ const edit = (list, orgOptions, roleOptions, loginOptions) => { state.loginOptions = loginOptions || [] state.settingList = list.map(item => { const pkey = item.pkey - if (pkey === 'basic.logLiveTime') { + if (pkey === 'basic.logLiveTime' || pkey === 'basic.thresholdLogLiveTime') { rule[pkey.split('.')[1]] = [ { required: true, @@ -272,7 +272,7 @@ defineExpose({ type="number" /> -
+