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

右侧目录切换后,页面中的组件会卸载,并重新渲染。 #266

Closed
HarveyZgit opened this issue Oct 9, 2020 · 2 comments
Closed

Comments

@HarveyZgit
Copy link

通过点击右侧目录切换锚点,发现页面中已渲染的组件会卸载,并重新渲染。

请问如何解决?

@HarveyZgit
Copy link
Author

版本:
father: 2.29.5
docz: 1.3.2
react: 16.13.1

@PeachScript
Copy link
Member

father 内置的 docz 很老了,如果要使用建议单独使用 docz + father-build;遇到 docz 的问题请移步 docz 的项目 issue;另外推荐使用 dumi + father-build 做组件库研发,体验更好:#241

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants