feat: 在 JSSlot 转成 JSBlock 时, 把 id 信息补全

This commit is contained in:
lihao.ylh 2022-04-08 10:37:22 +08:00
parent 1d38a293f9
commit b861086c61
2 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,7 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
const { search } = history.location;
return parseQuery(search);
},
execEventFlow() {}
execEventFlow() {},
},
i18n: {
setLocale: (loc: string) => {

View File

@ -24,6 +24,7 @@ export function compatibleReducer(props: any, node: Node): any {
value: {
componentName: 'Slot',
children: props.value,
id: node.id,
props: {
slotTitle: props.title,
slotName: props.name,