WeChat Mini Programs, request network data, the data has not been returned, the page has been rendered

wxml uses templates to render.
js reads data from the network, and then puts the data into data.
the local data test is normal, but the data on the network has not been reversed, and the page has been rendered

.

is done, put the content related to the page in page, and then use setdata to modify the data in the page. Called in onload.

Menu