diff --git a/packages/amis-editor-core/src/manager.ts b/packages/amis-editor-core/src/manager.ts index 20c568cef..8f87282d3 100644 --- a/packages/amis-editor-core/src/manager.ts +++ b/packages/amis-editor-core/src/manager.ts @@ -580,8 +580,8 @@ export class EditorManager { let id = curRendererId || this.store.activeId; let panels: Array = []; - if (!id && this.store?.schema) { - id = this.store?.schema.$$id; // 默认使用根节点id + if (!id && this.store?.filteredSchema) { + id = this.store?.filteredSchema.$$id; // 默认使用根节点id } if (id || this.store.selections.length) {