mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
task 命令支持给脚本传参,使用 -- 分割,后面的参数都会传给脚本
例如 task x.js -n whyour,脚本就能接收到参数 -n whyour
This commit is contained in:
@@ -461,5 +461,10 @@
|
||||
"运行任务后执行的命令,比如 cp/mv/python3 xxx.py/node xxx.js": "Run commands after executing the task, e.g., cp/mv/python3 xxx.py/node xxx.js",
|
||||
"请输入运行任务前要执行的命令,不能包含 task 命令": "Please enter the command to run before executing the task, cannot contain task commands",
|
||||
"请输入运行任务后要执行的命令,不能包含 task 命令": "Please enter the command to run after executing the task, cannot contain task commands",
|
||||
"不能包含 task 命令": "Cannot contain task commands"
|
||||
"不能包含 task 命令": "Cannot contain task commands",
|
||||
"Chronocat Red 服务的连接地址 https://chronocat.vercel.app/install/docker/official/": "Connection address of the Chronocat Red service https://chronocat.vercel.app/install/docker/official/",
|
||||
"个人:user_id=个人QQ 群则填入group_id=QQ群 多个用英文;隔开同时支持个人和群 如:user_id=xxx;group_id=xxxx;group_id=xxxxx": "Individuals: user_id=individual QQ Groups fill in group_id=QQ Groups more than one with English; separated by the same time to support individuals and groups such as: user_id=xxx;group_id=xxxx;group_id=xxxxx",
|
||||
"docker安装在持久化config目录下的chronocat.yml文件可找到": "The docker installation can be found in the persistence config directory in the chronocat.yml file",
|
||||
"请选择": "Please select",
|
||||
"请输入": "Please input"
|
||||
}
|
||||
|
||||
@@ -461,5 +461,10 @@
|
||||
"运行任务后执行的命令,比如 cp/mv/python3 xxx.py/node xxx.js": "运行任务后执行的命令,比如 cp/mv/python3 xxx.py/node xxx.js",
|
||||
"请输入运行任务前要执行的命令,不能包含 task 命令": "请输入运行任务前要执行的命令,不能包含 task 命令",
|
||||
"请输入运行任务后要执行的命令,不能包含 task 命令": "请输入运行任务后要执行的命令,不能包含 task 命令",
|
||||
"不能包含 task 命令": "不能包含 task 命令"
|
||||
"不能包含 task 命令": "不能包含 task 命令",
|
||||
"Chronocat Red 服务的连接地址 https://chronocat.vercel.app/install/docker/official/": "Chronocat Red 服务的连接地址 https://chronocat.vercel.app/install/docker/official/",
|
||||
"个人:user_id=个人QQ 群则填入group_id=QQ群 多个用英文;隔开同时支持个人和群 如:user_id=xxx;group_id=xxxx;group_id=xxxxx": "个人:user_id=个人QQ 群则填入group_id=QQ群 多个用英文;隔开同时支持个人和群 如:user_id=xxx;group_id=xxxx;group_id=xxxxx",
|
||||
"docker安装在持久化config目录下的chronocat.yml文件可找到": "docker安装在持久化config目录下的chronocat.yml文件可找到",
|
||||
"请选择": "请选择",
|
||||
"请输入": "请输入"
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ const NotificationSetting = ({ data }: any) => {
|
||||
>
|
||||
{x.items ? (
|
||||
<Select
|
||||
placeholder={x.placeholder || `请选择${x.label}`}
|
||||
placeholder={x.placeholder || `${intl.get('请选择')} ${x.label}`}
|
||||
disabled={loading}
|
||||
>
|
||||
{x.items.map((y) => (
|
||||
@@ -89,7 +89,7 @@ const NotificationSetting = ({ data }: any) => {
|
||||
<Input.TextArea
|
||||
disabled={loading}
|
||||
autoSize={{ minRows: 1, maxRows: 5 }}
|
||||
placeholder={x.placeholder || `请输入${x.label}`}
|
||||
placeholder={x.placeholder || `${intl.get('请输入')} ${x.label}`}
|
||||
/>
|
||||
)}
|
||||
</Form.Item>
|
||||
|
||||
Reference in New Issue
Block a user