diff --git a/packages/designer/src/components/components-popover.tsx b/packages/designer/src/components/components-popover.tsx index a66b96c..6303619 100644 --- a/packages/designer/src/components/components-popover.tsx +++ b/packages/designer/src/components/components-popover.tsx @@ -20,7 +20,6 @@ export const ComponentsPopover = observer( type = 'inner', title = '添加组件', isControlled = false, - prototype: outPrototype, children, ...popoverProps }: ComponentsPopoverProps) => { diff --git a/packages/designer/src/simulator/selection.tsx b/packages/designer/src/simulator/selection.tsx index a314157..736479b 100644 --- a/packages/designer/src/simulator/selection.tsx +++ b/packages/designer/src/simulator/selection.tsx @@ -148,12 +148,12 @@ function SelectionBox({ showActions, actions, data }: SelectionBoxProps) { style={style} > <> - + } css={topAddSiblingBtnStyle} /> - + } css={bottomAddSiblingBtnStyle} /> @@ -197,7 +197,7 @@ function SelectionBox({ showActions, actions, data }: SelectionBoxProps) { /> {!isPage && actions} {prototype.hasChildren !== false && ( - + } />