fix: 【系统设置】请求超时时间(秒)必填

This commit is contained in:
taojinlong 2024-09-24 15:34:58 +08:00
parent 88c3445c26
commit 295e57fe99

View File

@ -134,7 +134,7 @@ const edit = (list, orgOptions, roleOptions, loginOptions) => {
}
]
}
if (pkey === 'basic.exportFileLiveTime') {
if (pkey === 'basic.exportFileLiveTime' || pkey === 'basic.frontTimeOut') {
rule[pkey.split('.')[1]] = [
{
required: true,
@ -143,6 +143,7 @@ const edit = (list, orgOptions, roleOptions, loginOptions) => {
}
]
}
item['label'] = `setting_${pkey}`
item['pkey'] = pkey.split('.')[1]
let pval = item.pval