Merge pull request #12425 from dataease/pr@dev-v2@fixexport

fix:  【系统设置】请求超时时间(秒)必填
This commit is contained in:
taojinlong 2024-09-25 09:14:10 +08:00 committed by GitHub
commit b5a282fee3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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