mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
定时任务增加 work_dir 设置
This commit is contained in:
@@ -229,6 +229,15 @@ const CronModal = ({
|
||||
maxLength={200}
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="work_dir"
|
||||
label={intl.get('工作目录')}
|
||||
tooltip={intl.get(
|
||||
'脚本执行时的工作目录,留空则自动检测。相对路径基于 scripts 目录,也支持绝对路径',
|
||||
)}
|
||||
>
|
||||
<Input placeholder={intl.get('留空自动检测,或输入相对/绝对路径')} />
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="task_before"
|
||||
label={intl.get('执行前')}
|
||||
|
||||
Reference in New Issue
Block a user