侧边栏如何增加多级菜单
Open
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
目前侧边栏只支持到第一级和第二级的展开,如何增加到第三级和第四级呢?
我在router.js中的appRouter已经给需要第三级目录的对象添加了children字段,但是浏览器会报错。
请问一下正确添加菜单的姿势?希望得到作者的回复。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with router.js and the appRouter configuration, then reproduce the browser error after adding children to a third-level menu item. Trace the existing first- and second-level sidebar handling and determine what would need to support third- and fourth-level menus; done means nested menus render without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100