路由设置为history模式的时候产生许多问题
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.history模式进入某个页面刷新浏览器产生not get/... 的情况
2.history模式下在进入的页面不是home的情况下刷新页面themeSwitch设置的主题颜色恢复为默认的蓝色肢体,再次回到home路径下刷新页面的时候主题样式恢复正常
这一块有没有好的解决办法呢
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
Reproduce the two history-mode cases described: refreshing a non-home page and checking whether themeSwitch styling persists after refresh. Inspect the routing and themeSwitch handling, then verify that direct refreshes and theme colors remain correct on both home and non-home routes.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100