diff --git a/packages/editor-skeleton/src/widget/panel.ts b/packages/editor-skeleton/src/widget/panel.ts index 25eecb78d..40fbaead4 100644 --- a/packages/editor-skeleton/src/widget/panel.ts +++ b/packages/editor-skeleton/src/widget/panel.ts @@ -109,6 +109,10 @@ export default class Panel implements IWidget { if (props.onInit) { props.onInit.call(this, this); } + + if (content.onInit) { + content.onInit.call(this, this); + } // todo: process shortcut }