Skip to content
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

2.5.2新上的外链菜单条目点击后不应该获得高亮状态 #103

Closed
1 task
pzgz opened this issue Jun 1, 2022 · 3 comments
Closed
1 task

2.5.2新上的外链菜单条目点击后不应该获得高亮状态 #103

pzgz opened this issue Jun 1, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@pzgz
Copy link

pzgz commented Jun 1, 2022

Basic Info

  • Package Name And Version: arco-design-pro-vue@2.5.2
  • Browser: safari/605.1.15

What is expected?

两种方案,要吗是点击外链不改变高亮菜单项目,要吗是可以高亮,但点击当前菜单应该可以把高亮条目切换回去。个人感觉点击外链不高亮菜单条目为更合适,因为毕竟外链是不存在于系统路由中的。

Steps to reproduce

就以官网演示为例,点击外链后,会弹框到新页面,同时菜单条目会高亮选中该外链菜单条目,但这时候本页面的路由并没有变化,所以如果当前页面的状态就是高亮在外链菜单,但实际显示的页面还是之前的页面,两者是对不上的,这时候就算是再点击之前页面对应的菜单项目,菜单选择也回不去了,有点割裂。

@sHow8e
Copy link
Member

sHow8e commented Jun 6, 2022

@pzgz ok。get到了你的描述。点击外链高亮是为了记录或提醒用户上一步的点击操作。我这边可能还是倾向于点击高亮。我后续修复一下菜单点击回退的问题。3q

@sHow8e sHow8e added the bug Something isn't working label Jun 6, 2022
@pzgz
Copy link
Author

pzgz commented Jun 6, 2022

@pzgz ok。get到了你的描述。点击外链高亮是为了记录或提醒用户上一步的点击操作。我这边可能还是倾向于点击高亮。我后续修复一下菜单点击回退的问题。3q

嗯,明白,感谢理解

@sHow8e
Copy link
Member

sHow8e commented Jun 7, 2022

done v2.5.3

@sHow8e sHow8e closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants