From aafd57cae2438c936c019934cd572648a79c3e1c 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, }; }