lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

Antd 高级组件demo添加`导航菜单`组件时报错

Open zemelLeong opened this issue 1 year ago • 1 comments

Describe the bug (required) / 详细描述 bug(必填)

如题


To Reproduce (required) / 如何复现 bug?(必填,非常重要)

  1. 打开这个页面 https://lowcode-engine.cn/demo/demo-basic-antd/index.html
  2. 添加一个”导航菜单“组件

Screenshots (optional) / bug 截图(可选)

image

报错信息

TypeError: (e || []).map is not a function
    at i (useItems.tsx:19:10)
    at useItems.tsx:30:118
    at Array.map (<anonymous>)
    at i (useItems.tsx:19:10)
    at useItems.tsx:41:2
    at Object.useMemo (react-dom.production.min.js:216:441)
    at d.useMemo (react.production.min.js:32:231)
    at hd (useItems.tsx:48:12)
    at index.tsx:41:28
    at we (react-dom.production.min.js:84:293)

debug 信息

image

zemelLeong avatar Mar 06 '23 03:03 zemelLeong

@twinkle77 大佬辛苦看看

JackLian avatar Mar 06 '23 03:03 JackLian

什么时候能修复?

dukanglyb avatar Oct 25 '23 11:10 dukanglyb