|
@@ -34,7 +34,10 @@ export default defineUI({
|
|
|
key={item.compKey}
|
|
|
title={item.name}
|
|
|
onClick={() =>
|
|
|
- editor.actions.addCompToDesign(item.compKey as ICompKeys)
|
|
|
+ editor.actions.addCompToDesign(
|
|
|
+ item.compKey as ICompKeys,
|
|
|
+ editor.store.pageCompIds.length
|
|
|
+ )
|
|
|
}
|
|
|
>
|
|
|
<Image
|