Skip to content

Commit b629ca5

Browse files
LeoYuanliujuping
authored andcommitted
fix: getting slot children incorrectly
1 parent bf5fece commit b629ca5

File tree

1 file changed

+1
-1
lines changed
  • packages/designer/src/document/node/props

1 file changed

+1
-1
lines changed

packages/designer/src/document/node/props/prop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export class Prop implements IProp, IPropParent {
404404
id: data.id,
405405
name: value.name || value.props?.slotName,
406406
params: value.params || value.props?.slotParams,
407-
children: data.value,
407+
children: value.children,
408408
} as IPublicTypeSlotSchema;
409409
} else {
410410
slotSchema = {

0 commit comments

Comments
 (0)