From e55672de1ab878c6d311f1df95b9daae0a033b25 Mon Sep 17 00:00:00 2001 From: RickCole21 Date: Tue, 2 Feb 2021 12:53:00 +0800 Subject: [PATCH] fix schema --- src/renderers/Form/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }>;