diff --git a/packages/types/src/schema.ts b/packages/types/src/schema.ts index c36a7c436..2895cd5ee 100644 --- a/packages/types/src/schema.ts +++ b/packages/types/src/schema.ts @@ -26,7 +26,7 @@ export interface NodeSchema { * 组件属性对象 */ props?: { - children?: NodeData[]; + children?: NodeData | NodeData[]; } & PropsMap;// | PropsList; /** * 组件属性对象