mirror of
https://github.com/whyour/qinglong.git
synced 2025-11-23 00:49:19 +08:00
修复系统提示
This commit is contained in:
parent
08ef509e27
commit
af96bd98ac
|
|
@ -32,7 +32,7 @@ const Copy = ({ text }: { text: string }) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link onClick={handleClick} style={{ marginLeft: 1 }}>
|
<Link onClick={handleClick} style={{ marginLeft: 4 }}>
|
||||||
<CopyToClipboard text={text} onCopy={handleCopy}>
|
<CopyToClipboard text={text} onCopy={handleCopy}>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
key="copy"
|
key="copy"
|
||||||
|
|
|
||||||
|
|
@ -530,5 +530,8 @@
|
||||||
"请输入自定义日志文件夹名称或绝对路径": "Please enter a custom log folder name or absolute path",
|
"请输入自定义日志文件夹名称或绝对路径": "Please enter a custom log folder name or absolute path",
|
||||||
"请输入自定义日志文件夹名称或 /dev/null": "Please enter a custom log folder name or /dev/null",
|
"请输入自定义日志文件夹名称或 /dev/null": "Please enter a custom log folder name or /dev/null",
|
||||||
"日志名称只能包含字母、数字、下划线和连字符": "Log name can only contain letters, numbers, underscores and hyphens",
|
"日志名称只能包含字母、数字、下划线和连字符": "Log name can only contain letters, numbers, underscores and hyphens",
|
||||||
"日志名称不能超过100个字符": "Log name cannot exceed 100 characters"
|
"日志名称不能超过100个字符": "Log name cannot exceed 100 characters",
|
||||||
|
"未启用": "Not enabled",
|
||||||
|
"默认为 CPU 个数": "Default is the number of CPUs",
|
||||||
|
"Minimum is 4": "Minimum is 4"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -530,5 +530,8 @@
|
||||||
"请输入自定义日志文件夹名称或绝对路径": "请输入自定义日志文件夹名称或绝对路径",
|
"请输入自定义日志文件夹名称或绝对路径": "请输入自定义日志文件夹名称或绝对路径",
|
||||||
"请输入自定义日志文件夹名称或 /dev/null": "请输入自定义日志文件夹名称或 /dev/null",
|
"请输入自定义日志文件夹名称或 /dev/null": "请输入自定义日志文件夹名称或 /dev/null",
|
||||||
"日志名称只能包含字母、数字、下划线和连字符": "日志名称只能包含字母、数字、下划线和连字符",
|
"日志名称只能包含字母、数字、下划线和连字符": "日志名称只能包含字母、数字、下划线和连字符",
|
||||||
"日志名称不能超过100个字符": "日志名称不能超过100个字符"
|
"日志名称不能超过100个字符": "日志名称不能超过100个字符",
|
||||||
|
"未启用": "未启用",
|
||||||
|
"默认为 CPU 个数": "默认为 CPU 个数",
|
||||||
|
"最小是 4": "最小是 4"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -240,6 +240,7 @@ const Other = ({
|
||||||
addonBefore={intl.get('每')}
|
addonBefore={intl.get('每')}
|
||||||
addonAfter={intl.get('天')}
|
addonAfter={intl.get('天')}
|
||||||
style={{ width: 180 }}
|
style={{ width: 180 }}
|
||||||
|
placeholder={intl.get('未启用')}
|
||||||
min={0}
|
min={0}
|
||||||
value={systemConfig?.logRemoveFrequency}
|
value={systemConfig?.logRemoveFrequency}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
|
|
@ -261,8 +262,9 @@ const Other = ({
|
||||||
<Input.Group compact>
|
<Input.Group compact>
|
||||||
<InputNumber
|
<InputNumber
|
||||||
style={{ width: 180 }}
|
style={{ width: 180 }}
|
||||||
min={1}
|
min={4}
|
||||||
value={systemConfig?.cronConcurrency}
|
value={systemConfig?.cronConcurrency}
|
||||||
|
placeholder={intl.get('默认为 CPU 个数')}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
setSystemConfig({ ...systemConfig, cronConcurrency: value });
|
setSystemConfig({ ...systemConfig, cronConcurrency: value });
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user