mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-18 21:38:14 +00:00
feat: 在 JSSlot 转成 JSBlock 时, 把 id 信息补全
This commit is contained in:
parent
1d38a293f9
commit
b861086c61
@ -288,7 +288,7 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
|
|||||||
const { search } = history.location;
|
const { search } = history.location;
|
||||||
return parseQuery(search);
|
return parseQuery(search);
|
||||||
},
|
},
|
||||||
execEventFlow() {}
|
execEventFlow() {},
|
||||||
},
|
},
|
||||||
i18n: {
|
i18n: {
|
||||||
setLocale: (loc: string) => {
|
setLocale: (loc: string) => {
|
||||||
|
|||||||
@ -24,6 +24,7 @@ export function compatibleReducer(props: any, node: Node): any {
|
|||||||
value: {
|
value: {
|
||||||
componentName: 'Slot',
|
componentName: 'Slot',
|
||||||
children: props.value,
|
children: props.value,
|
||||||
|
id: node.id,
|
||||||
props: {
|
props: {
|
||||||
slotTitle: props.title,
|
slotTitle: props.title,
|
||||||
slotName: props.name,
|
slotName: props.name,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user