ant-design / ant-design/pro-components

🧐可关闭[问题]使用splitMenu: true和mix模式后,路由设置二级路由或三级路由,点击二级菜单或三级菜单后,左侧菜单栏消失

Open
#9,308 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🧐 问题描述

Image

{
path: '/',
name: '首页',
routes: [
{
path: '/routeDemo',
name: '管理页',
component: './routeDemo'
}
]
}

点击二级菜单后,左侧菜单栏直接消失了。

### 💻 示例代码

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the supplied splitMenu: true and mix-mode configuration with the nested routeDemo route, then trace the navigation entry point handling second- and third-level menu clicks. Done means the left menu remains visible after selecting either nested menu level; the payload names no source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.