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
🐛 bug 描述 📷 复现步骤 | Recurrence steps <AntDesign.ProLayout.BasicLayout Logo="@("logo.svg")" MenuData="_menuData" OpenKeys="this.openKeys" OnOpenChange="this.onOpenChange">
string[] openKeys = { "" }; void onOpenChange(string[] openKeys) { var latestOpenKey = openKeys.FirstOrDefault(key => !this.openKeys.Contains(key)); if (_menuData.ToList().Any(t => t.Key.Contains(latestOpenKey))) { this.openKeys = openKeys; } else { this.openKeys = !string.IsNullOrEmpty(latestOpenKey) ? new[] { latestOpenKey } : Array.Empty<string>(); } }
🏞 期望结果 | Expected results https://antblazor.com/zh-CN/components/menu#components-menu-demo-sider-current
💻 复现代码 | Recurrence code © 版本信息 Ant Design Pro 版本: [0.14.4.1] umi 版本 浏览器环境 开发环境 [windows10 vs2022]
🚑 其他信息
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 bug 描述
📷 复现步骤 | Recurrence steps
<AntDesign.ProLayout.BasicLayout Logo="@("logo.svg")" MenuData="_menuData" OpenKeys="this.openKeys" OnOpenChange="this.onOpenChange">
🏞 期望结果 | Expected results
https://antblazor.com/zh-CN/components/menu#components-menu-demo-sider-current
💻 复现代码 | Recurrence code
© 版本信息
Ant Design Pro 版本: [0.14.4.1]
umi 版本
浏览器环境
开发环境 [windows10 vs2022]
🚑 其他信息
The text was updated successfully, but these errors were encountered: