diff --git a/packages/scripts/types/global/base.tpl b/packages/scripts/types/global/base.tpl index b6744757c..ba915abac 100644 --- a/packages/scripts/types/global/base.tpl +++ b/packages/scripts/types/global/base.tpl @@ -10,7 +10,7 @@ export type OptionData = { } & PlainObject; export type TreeOptionData = { - children?: Array>; + children?: Array> | boolean; /** option label content */ label?: string | TNode; /** option search text */