如何动态的再加左侧菜单栏
Open
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
1.我在做左侧菜单栏的加载时,通过在登陆界面获取多json数据,然后将其传递到了urli.js中,通过递归将值push到了appRouter中,并在app.js中添加到了menuList,左侧菜单栏初次加载正常显示,但是刷新之后菜单栏就消失了?请帮一下我这是怎么回事呢?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading urli.js and app.js, where the issue says the dynamic routes and menuList are built. Reproduce the login, initial navigation, and a page refresh to trace whether the menu data or generated routes are lost. Done means the left menu remains available after refresh when loaded from the reported JSON data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100