WeChat Mini Programs data request successfully returned data, but the page is not rendered.

clipboard.png
200
object

clipboard.png


~~

clipboard.png

Jul.03,2022

suggest posting the page js code


add one, can't see the code, and it's a little hard to imagine the problem


this is mainly a performance problem

  • all your sliders share listData, and in order to slide, render all sliders, but you should not render duplicate data. The amount of data to be updated when loading more is too large. It is officially recommended that it should not exceed 64KB, and the communication time increases exponentially after that
  • .
  • temporarily add an if judgment for you, sort it out, and then optimize the code

clipboard.png

Menu