ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.47k stars 8.14k forks source link

🐛[页面白屏]当请求用户信息时间很长时,页面会出现白屏,待解决 #7171

Closed sibaiabis closed 3 years ago

sibaiabis commented 4 years ago

🐛 bug 描述

复现图 代码1 代码2 如图

📷 复现步骤

🏞 期望结果

💻 复现代码

© 版本信息

🚑 其他信息

sibaiabis commented 4 years ago

目前我用官网demo也是这样

chenshuai2144 commented 3 years ago

加了个新的 api

/**
 * 获取用户信息比较慢的时候会展示一个 loading
 */
export const initialStateConfig = {
  loading: <PageLoading />,
};
RealWseven commented 3 years ago

你好,请问最后怎么解决的?

sibaiabis commented 3 years ago

这个后续的antdpro版本不是解决了么,升级一下版本就好了

发自亖佰的iPhone12 pro max

On Jun 10, 2021, at 18:12, RealWseven @.***> wrote:

 你好,请问最后怎么解决的?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

RealWseven commented 3 years ago

这个后续的antdpro版本不是解决了么,升级一下版本就好了 发自亖佰的iPhone12 pro max On Jun 10, 2021, at 18:12, RealWseven @.***> wrote:  你好,请问最后怎么解决的? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

好的,我看看要怎么升级,感谢您的回复,谢谢。