小程序很卡?

小程序 文章 2021-01-22 14:01 307 0 全屏看文

AI助手支持GPT4.0

小程序很卡?The applet is stuck?

小程序很卡?

大神们,我们开发了一个小程序,发现很卡 ,检测接口响应时间都很快 ,但是在手机上用小程序就感觉很卡,甚至仅仅是界面交互就很慢?大神们有这个情况吗

Mobile phone is too laggy, is too laggy. But we have developed a small program, which is very fast. But the response time is very fast. But it is very difficult to use small programs on mobile phones, or even just the interface interaction is slow. Do the great gods have this situation

回答:

天天:

让前端好好看看,到底是哪里慢

大胖余:

功能业务很复杂吗? 一次性setData很大的数据吗?

周冉:

用啥开发框架了没?频繁setState了没?写死循环了没?

-EOF-

AI助手支持GPT4.0