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

标签栏导航会重复 #2171

Closed
shimh-develop opened this issue May 28, 2019 · 2 comments · Fixed by #2634
Closed

标签栏导航会重复 #2171

shimh-develop opened this issue May 28, 2019 · 2 comments · Fixed by #2634

Comments

@shimh-develop
Copy link

Bug report(问题描述)

使用vue-router 的path缺省配置会出现2个相同的标签栏导航,2个相同的标签栏导航的path是不一样的。

Steps to reproduce(问题复现步骤)

比如:1 修改一下guide的路由配置为:
image
以前的路由是:
image
2 点击guide菜单,此时url路径是这样的:
image
3 随便点击一个菜单,guide为倒数第二个:
image
4 关闭最后一个:此时guide的url路径多了一条 /
image
5 此时,点击一个别的菜单,再点击guide菜单,就会出现2个相同的tag了
image

Other relevant information(格外信息)

  • Your OS: Mac
  • Node.js version: v8.10.0
  • vue-element-admin version: master
@sscfaith
Copy link

修改 src/layout/components/TagsView/index.vue 158行
this.$router.push(latestView) => this.$router.push(latestView.path)

@PanJiaChen
Copy link
Owner

Fixed in #2634

EdwinBetanc0urt pushed a commit to EdwinBetanc0urt/adempiere-vue that referenced this issue Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants