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

antd 自定义主体config失效 #322

Open
vaynevayne opened this issue Aug 16, 2024 · 1 comment
Open

antd 自定义主体config失效 #322

vaynevayne opened this issue Aug 16, 2024 · 1 comment

Comments

@vaynevayne
Copy link

keep-alive 包裹路由, 将导致antd 的ProviderConfig 主题色和一些样式失效

@youngBrain1893
Copy link

正常现象,将 ProviderConfig 添加到 AliveScope 之前可解决
所有 keep-alive 的内容实际渲染在 AliveScope 之下,如果是在 AliveScope 到 KeepAlive 之间的 context,可能丢失

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