From 9b7462b8a4184df5ac0615ea58b0582dac34f2a4 Mon Sep 17 00:00:00 2001 From: liujuping Date: Fri, 31 Mar 2023 17:04:49 +0800 Subject: [PATCH] feat: JSSlot prop export result add id --- packages/designer/src/document/node/props/prop.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/designer/src/document/node/props/prop.ts b/packages/designer/src/document/node/props/prop.ts index 7678ee346..b1fd1aec4 100644 --- a/packages/designer/src/document/node/props/prop.ts +++ b/packages/designer/src/document/node/props/prop.ts @@ -302,6 +302,7 @@ export class Prop implements IProp, IPropParent { type: 'JSSlot', params: schema.params, value: schema, + id: schema.id, }; } return { @@ -310,6 +311,7 @@ export class Prop implements IProp, IPropParent { value: schema.children, title: schema.title, name: schema.name, + id: schema.id, }; }