fix: getting slot children incorrectly

This commit is contained in:
LeoYuan 袁力皓 2023-02-09 11:18:48 +08:00 committed by 刘菊萍(絮黎)
parent bf5fece16b
commit b629ca55e5

View File

@ -404,7 +404,7 @@ export class Prop implements IProp, IPropParent {
id: data.id,
name: value.name || value.props?.slotName,
params: value.params || value.props?.slotParams,
children: data.value,
children: value.children,
} as IPublicTypeSlotSchema;
} else {
slotSchema = {