为什么调用云函数里面的图片无法显示?

小程序 文章 2022-03-08 10:00 296 0 全屏看文

AI助手支持GPT4.0

为什么调用云函数里面的图片无法显示?Why can't the pictures in the calling cloud function be displayed?

为什么调用云函数里面的图片无法显示?

在data里面设置的数组是这样

使用了云函数查询数据库里面的图片列表,console了接收到的数据是对的,但是链接如下

调用的方式

但是在界面上却显示不出来

The array set in the data is like this. The cloud function is used to query the image list in the database. The console shows that the data received is correct, but the link is called in the following way, but it cannot be displayed on the interface

回答:

15:

截图看看setData那块的代码?

光:

没有 应该会报错的吧 看下控制台 报什么喽

青团社:

截图 elements里的内容

-EOF-

AI助手支持GPT4.0