Merge commit 'e9beba4557c201076afa2f55dca91b5c0a74c563' into def_releases_2022040810384040_ali-lowcode_ali-lowcode-engine/1.0.81

This commit is contained in:
tbfed 2022-04-20 19:36:15 +08:00
commit 30232e10e3
2 changed files with 2 additions and 0 deletions

View File

@ -313,6 +313,7 @@ export class Prop implements IPropParent {
componentName: 'Slot',
title: data.title,
name: data.name,
id: data.id,
params: data.params,
children: data.value,
};

View File

@ -14,6 +14,7 @@ export function upgradePropsReducer(props: any): any {
if (props.value.componentName === 'Slot') {
return {
type: 'JSSlot',
id: props.value.id,
title: (props.value.props as any)?.slotTitle,
name: (props.value.props as any)?.slotName,
value: props.value.children,