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: ^2.2.4toc: content 异常! #1816

Closed
ayangweb opened this issue Aug 2, 2023 · 4 comments · Fixed by #1830
Closed

bug: ^2.2.4toc: content 异常! #1816

ayangweb opened this issue Aug 2, 2023 · 4 comments · Fixed by #1830
Labels
bug Something isn't working

Comments

@ayangweb
Copy link
Contributor

ayangweb commented Aug 2, 2023

Versions

  • dumi: ^2.2.4
  • node: v18.16.0
  • npm: 9.5.1
  • OS: MacOS 12.6 M1
  • Browser: Chrome 版本 115.0.5790.114(正式版本) (arm64)

Steps to reproduce

https://github.com/ayangweb/dumi-test

What is Expected?

正常第一次进入路由会显示!

image

What is actually happening?

当刷新页面或者来回切换语言会丢失!

顺便演示一下 #1815 src 目录下的 nav 的解析异常!跑到指南路由下了!

iShot_2023-08-02_22 42 59

@ayangweb ayangweb added the bug Something isn't working label Aug 2, 2023
@kzxuan
Copy link

kzxuan commented Aug 4, 2023

我也有遇到 TOC 丢失的问题,感觉是不符合期望的。
可以尝试直接打开 dumi 官网的这个 tab:https://d.umijs.org/config ,我这边大概率 TOC 全空白。
Chrome:114
dumi:2.2.4

@x011223
Copy link

x011223 commented Aug 7, 2023

我遇到的问题是 第一次进入 toc 未显示,刷新或者切换到其他页面再切换回来正常

@PeachScript
Copy link
Member

v2.2.5 已修复

@ayangweb
Copy link
Contributor Author

ayangweb commented Aug 10, 2023

v2.2.5 已修复

测试过了,没有问题!就是 #1815 这个问题再帮我参谋一下呗!

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.

4 participants