after the data request of Mini Program is completed (there is no problem with loading in the request phase), the rendering will be blank for a period of time when the page is complicated. How to render the loading animation during this period?
after the data request of Mini Program is completed (there is no problem with loading in the request phase), the rendering will be blank for a period of time when the page is complicated. How to render the loading animation during this period?
then don't be so early wx.hideLoading ()
, wait until the end of setData rendering hideLoading
. The second parameter of
setData is a render completed callback function
Skeleton screen to learn about
Previous: Phpstorm Settings php servers failed to open localhost
Next: Mini Program login status to maintain (has its own third-party account)?