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