From 6715555e31337dc733ed8fb92779c8200a73f92e Mon Sep 17 00:00:00 2001 From: janrywang Date: Wed, 26 May 2021 18:11:57 +0800 Subject: [PATCH] feat(core): support more types for dataSource --- packages/core/src/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index e5d1f83ea16..812354cb08d 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -281,11 +281,11 @@ export type FieldPatternTypes = export type FieldValidator = Validator export type FieldDataSource = { - label?: string - value?: string - title?: string - key?: string - text?: string + label?: any + value?: any + title?: any + key?: any + text?: any children?: FieldDataSource [key: string]: any }[]