小程序获取数据后无法渲染到页面?

小程序 文章 2021-01-28 08:01 996 0 全屏看文

AI助手支持GPT4.0

小程序获取数据后无法渲染到页面?The applet cannot be rendered to the page after obtaining the data?

小程序获取数据后无法渲染到页面?

我用的API地址一个是:https://api.tianapi.com/txapi/healthtip/index还有一个是:http://api.tianapi.com/health/index



代码是这样的:已经卡住很久了,求一位哥来帮帮我o(╥﹏╥)o

是成功获取了:

One of the API addresses I use is: https://api.tianapi.com/txapi/healthtip/index Another one is: http://api.tianapi.com/health/index The code is like this: it's been stuck for a long time. I asked a brother to help me. O (╥﹏╥) O succeeded in obtaining:

回答:

维她命系:

AppData截图发下看看,把headerText、dataList变量展开

Charb:

打开appdata确定一下是不是数据问题

2,打开 wxml 看一下是不是布局问题(元素宽高 元素属性值)

MR.X👻:

Help~Help~

-EOF-

AI助手支持GPT4.0