diff --git a/packages/core/client/src/schema-component/antd/menu/Menu.tsx b/packages/core/client/src/schema-component/antd/menu/Menu.tsx index c8afbbcfe..9d8189f6d 100644 --- a/packages/core/client/src/schema-component/antd/menu/Menu.tsx +++ b/packages/core/client/src/schema-component/antd/menu/Menu.tsx @@ -392,7 +392,8 @@ export const Menu: ComposedMenu = observer( if (mode === 'mix' && key) { const s = schema.properties?.[key]; - if (s['x-component'] === 'Menu.SubMenu') { + // fix T-934 + if (s?.['x-component'] === 'Menu.SubMenu') { return s; } }