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

bug: 非根目录部署的项目点击文章目录会跳到首页 #1771

Closed
iamztf opened this issue Jul 12, 2023 · 0 comments · Fixed by #1786
Closed

bug: 非根目录部署的项目点击文章目录会跳到首页 #1771

iamztf opened this issue Jul 12, 2023 · 0 comments · Fixed by #1786
Labels
bug Something isn't working

Comments

@iamztf
Copy link

iamztf commented Jul 12, 2023

Versions

  • dumi: 2.2.1
  • node: 14.21.2
  • npm: 6.14.17
  • OS: maxOS 12.2.1
  • Browser: 112.0.5615.137 (arm64)

Steps to reproduce

image

What is Expected?

第二次点击和第一次点击行为一致,不跳转到首页

What is actually happening?

如上 Steps to reproduce,看了下,移除 root 的这个 click 事件就不会跳转到首页了
image

@iamztf iamztf added the bug Something isn't working label Jul 12, 2023
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

Successfully merging a pull request may close this issue.

1 participant