mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/mihomo-party-org/clash-party.git
synced 2026-09-20 08:03:39 +08:00
@@ -203,26 +203,26 @@ const EditInfoModal: React.FC<Props> = (props) => {
|
||||
</SettingItem>
|
||||
</>
|
||||
)}
|
||||
<SettingItem title={t('profiles.editInfo.updateTimeout')}>
|
||||
<Input
|
||||
size="sm"
|
||||
type="text"
|
||||
className={cn(inputWidth)}
|
||||
value={values.updateTimeout?.toString() ?? ''}
|
||||
onValueChange={(v) => {
|
||||
if (v === '') {
|
||||
setValues({ ...values, updateTimeout: undefined })
|
||||
return
|
||||
}
|
||||
if (/^\d+$/.test(v)) {
|
||||
setValues({ ...values, updateTimeout: parseInt(v, 10) })
|
||||
}
|
||||
}}
|
||||
placeholder={t('profiles.editInfo.updateTimeoutPlaceholder')}
|
||||
/>
|
||||
</SettingItem>
|
||||
</>
|
||||
)}
|
||||
<SettingItem title={t('profiles.editInfo.updateTimeout')}>
|
||||
<Input
|
||||
size="sm"
|
||||
type="text"
|
||||
className={cn(inputWidth)}
|
||||
value={values.updateTimeout?.toString() ?? ''}
|
||||
onValueChange={(v) => {
|
||||
if (v === '') {
|
||||
setValues({ ...values, updateTimeout: undefined })
|
||||
return
|
||||
}
|
||||
if (/^\d+$/.test(v)) {
|
||||
setValues({ ...values, updateTimeout: parseInt(v, 10) })
|
||||
}
|
||||
}}
|
||||
placeholder={t('profiles.editInfo.updateTimeoutPlaceholder')}
|
||||
/>
|
||||
</SettingItem>
|
||||
<SettingItem title={t('profiles.editInfo.override.title')}>
|
||||
<div>
|
||||
{overrideItems
|
||||
|
||||
Reference in New Issue
Block a user