We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 collapsed 状态下,如果菜单项有 children:null 存在,会被识别成目录,而非collapsed状态下是正常的。
children:null
非collapsed
在 menuOptions 中添加 children:null 项。
https://www.naiveui.com/zh-CN/os-theme/components/menu#API
所有
npm
The text was updated successfully, but these errors were encountered:
在接口转换树型数据的时候,有些转换函数会留有 children:[],或children:null 的数据存在,当 children 为空时,是当做菜单项处理呢,还是当成目录?
children:[]
不管当成什么,压缩和展开状态的形式应该一致,对吧。
Sorry, something went wrong.
No branches or pull requests
描述错误
在 collapsed 状态下,如果菜单项有
children:null
存在,会被识别成目录,而非collapsed
状态下是正常的。复现步骤
在 menuOptions 中添加 children:null 项。
最小复现链接
https://www.naiveui.com/zh-CN/os-theme/components/menu#API
系统信息
使用的包管理器
npm
验证
The text was updated successfully, but these errors were encountered: