Mini Program rendering loading

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

Menu