mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 22:58:15 +00:00
Merge commit 'e9beba4557c201076afa2f55dca91b5c0a74c563' into def_releases_2022040810384040_ali-lowcode_ali-lowcode-engine/1.0.81
This commit is contained in:
commit
30232e10e3
@ -313,6 +313,7 @@ export class Prop implements IPropParent {
|
|||||||
componentName: 'Slot',
|
componentName: 'Slot',
|
||||||
title: data.title,
|
title: data.title,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
|
id: data.id,
|
||||||
params: data.params,
|
params: data.params,
|
||||||
children: data.value,
|
children: data.value,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -14,6 +14,7 @@ export function upgradePropsReducer(props: any): any {
|
|||||||
if (props.value.componentName === 'Slot') {
|
if (props.value.componentName === 'Slot') {
|
||||||
return {
|
return {
|
||||||
type: 'JSSlot',
|
type: 'JSSlot',
|
||||||
|
id: props.value.id,
|
||||||
title: (props.value.props as any)?.slotTitle,
|
title: (props.value.props as any)?.slotTitle,
|
||||||
name: (props.value.props as any)?.slotName,
|
name: (props.value.props as any)?.slotName,
|
||||||
value: props.value.children,
|
value: props.value.children,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user