iview / iview/iview-admin

请教各位大佬以及作者,动态路由生成的菜单切换tab页时,页面内容会刷新

Open
#455 17 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.3k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

在切换至动态路由生成的菜单时,tab页内容会刷新;切换至原来写死在router.js中的路由打开的tab页不会刷新。
小弟求解,如何才能切换至动态路由生成的菜单打开的tab页也不刷新呢! @lison16

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with router.js and compare a dynamically generated route with a route declared there. Reproduce the tab switch and trace why the dynamic route's content refreshes; done means dynamic-route tabs preserve their content when switching, matching the behavior of the existing routes.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.