diff --git a/src/renderers/Form/index.tsx b/src/renderers/Form/index.tsx index e9e569d3e..f3c7a3908 100644 --- a/src/renderers/Form/index.tsx +++ b/src/renderers/Form/index.tsx @@ -278,7 +278,7 @@ export interface FormSchema extends BaseSchema { /** * 组合校验规则,选填 */ - rules: Array<{ + rules?: Array<{ rule: string; message: string; }>;