|
@@ -802,7 +802,15 @@ export default function JobCreate() {
|
|
</Space>
|
|
</Space>
|
|
</RadioGroup>
|
|
</RadioGroup>
|
|
</FormItem>
|
|
</FormItem>
|
|
- <FormItem label="执行命令" name="execute_command">
|
|
|
|
|
|
+ <FormItem
|
|
|
|
+ label="执行命令"
|
|
|
|
+ name="execute_command"
|
|
|
|
+ rules={[
|
|
|
|
+ {
|
|
|
|
+ required: true,
|
|
|
|
+ message: '请输入执行命令',
|
|
|
|
+ },
|
|
|
|
+ ]}>
|
|
<Input placeholder="请输入执行命令..." allowClear></Input>
|
|
<Input placeholder="请输入执行命令..." allowClear></Input>
|
|
</FormItem>
|
|
</FormItem>
|
|
<FormItem {...tailLayout}>
|
|
<FormItem {...tailLayout}>
|