|
@@ -73,13 +73,13 @@ export const Component = defineComponent({
|
|
|
style={containerScale}
|
|
|
showMask={props.showMask}
|
|
|
>
|
|
|
- {comp.children.default?.map((compId) => {
|
|
|
+ {comp.children.default?.map((compId, index) => {
|
|
|
const compItem = helper.findComp(compId) as DesignComp;
|
|
|
const Comp =
|
|
|
controls.compUICtrl.state.components.get(compItem?.compKey)
|
|
|
?.Component || CompUI.Container.Component;
|
|
|
|
|
|
- return <Comp key={compItem.id} compId={compItem.id} />;
|
|
|
+ return <Comp key={compItem.id + index} compId={compItem.id} />;
|
|
|
})}
|
|
|
</View>
|
|
|
</div>
|