-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When there are sub-routes on the page,ReuseTabService cannot refresh and locate the tab head correctly 当页面有子路由时,reuseTab不能正确刷新和定位tab head #1821
Comments
Translation of this issue:When When there are sub-routes on the page, ReuseTabService can not refresh and locate the tab head correctly when the page has sub-routing, reuseTab not properly refresh and positioning tab headReproduction linkHttps://github.com/ng-alain/ng-alain/releases/tag/9.5.5 Steps to reproduceclone ng-alain v 9.5.5-based version 9.X What is expected?Hope to be revised in 9.x What is actually happening?When there are sub-routes on the page, ReuseTabService can not refresh and locate the tab head correctly
In the figure below, the problem is marked in red, and The blue part is the tab that should be used to jump. ! [Image] (https://user-images.githubusercontent.com/1821328/91923938-23882b00-ed04-11ea-8e74-bad2c743df68.png) |
我也遇到了这个问题,有解决方法吗? |
Reproduction link
https://github.com/ng-alain/ng-alain/releases/tag/9.5.5
Steps to reproduce
clone ng-alain v 9.5.5 基于9.X版本
use ReuseTabService 开启路由复用
click menu[Account/Account Center] and [Account/Account Settings] 点击个人中心和个人设置页面(包含子路由)
①In order to ensure that the problem is reproduced, click several times 为了确保再现问题,多点击几次
②The page has changed, and the header of the tab has not changed 页面内容变化,但tab 的标签头部不变
③click [Result/Success & Fail] or [Profile/Basic profile & advanced profile] 再点击结果也,或详情页面
④There will be the same problem as ②. 也会出现和2一样的问题。哪怕页面已经有便签显示了,也不会正确定位,只会再最后显示子路由那个页面显示
What is expected?
Hope to be revised in 9.x
What is actually happening?
When there are sub-routes on the page,ReuseTabService cannot refresh and locate the tab head correctly
当页面有子路由时,reuseTab不能正确刷新和定位tab head
In the figure below, the problem is marked in red,and The blue part is the tab that should be used to jump.
下图中,红色标注的是问题现状蓝色部分是应该跳转使用的tab
The text was updated successfully, but these errors were encountered: