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

🧐[问题] SSR 项目使用ProLayout渲染,在屏幕宽度大于990的时候,可以正常显示,但是小于990宽度,就报错 #8916

Open
qyjandroid opened this issue Dec 11, 2024 · 0 comments

Comments

@qyjandroid
Copy link

qyjandroid commented Dec 11, 2024

🧐 问题描述

SSR 项目使用ProLayout渲染,在屏幕宽度大于990的时候,可以正常显示,但是在屏幕**初始化(设置好宽度,直接刷新)**宽度小于990,就报错 Cannot read properties of null (reading 'children')
image
我把ProLayout 替换为普通的div,或者ant design 的button 在任意宽度都可以正常显示。

版本信息

pro-components :2.7.0

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

1 participant