perf: 日志保留时间最大设置4000天

This commit is contained in:
fit2cloud-chenyw 2024-01-24 10:34:06 +08:00
parent 43b15ca56d
commit 745c4d17cd
4 changed files with 6 additions and 3 deletions

View File

@ -840,6 +840,7 @@ export default {
empty_msg: 'If empty then default value is 30 days',
front_error: 'Valid range [0 - 300]', // 修改了提示信息
msg_error: 'Valid range [1 - 365]',
log_live_time_error: 'Valid range [1 - 4000]',
limit_times_error: 'Valid range [1 - 100]',
relieve_times_error: 'Valid range [1 - 100]',
SMTP_port: 'SMTP Port',

View File

@ -839,6 +839,7 @@ export default {
empty_msg: '為空則默認取值30天',
front_error: '請填寫0-300正整數', // 修改了提示信息
msg_error: '請填寫1-365正整數',
log_live_time_error: '請填寫1-4000正整數',
limit_times_error: '請填寫1-100正整數',
relieve_times_error: '請填寫1-100正整數',
SMTP_port: 'SMTP端口',

View File

@ -934,7 +934,8 @@ export default {
edit_classification: '编辑分类',
classification_name: '分类名称',
by_event_details: '通过事件详情搜索',
password_input_error: '原始密码输入错误'
password_input_error: '原始密码输入错误',
log_live_time_error: '请填写1-4000整数'
},
chart: {
empty_hide: '隐藏空值',

View File

@ -291,8 +291,8 @@ export default {
],
logTimeOut: [
{
pattern: '^([1-9]|[1-9][0-9]|[1-2][0-9][0-9]|3[0-5][0-9]|36[0-5])$',
message: this.$t('system_parameter_setting.msg_error'),
pattern: /^(?:[1-9]|[1-9]\d{1,2}|[1-3]\d{3}|4000)$/,
message: this.$t('system_parameter_setting.log_live_time_error'),
trigger: 'blur'
}
],