diff --git a/packages/amis-editor/src/plugin/Drawer.tsx b/packages/amis-editor/src/plugin/Drawer.tsx index 1ec889ee5..9b98c8053 100644 --- a/packages/amis-editor/src/plugin/Drawer.tsx +++ b/packages/amis-editor/src/plugin/Drawer.tsx @@ -312,7 +312,7 @@ export class DrawerPlugin extends BasePlugin { const hostNodeDataSchema = await this.manager.config.getHostNodeDataSchema?.(); hostNodeDataSchema - .filter( + .filter?.( (item: any) => !['system-variable', 'page-global'].includes(item.$id) ) ?.forEach((item: any) => {