前端无法显示云存储的图片

小程序 文章 2020-09-01 09:21 571 0 全屏看文

AI助手支持GPT4.0

前端无法显示云存储的图片The front end cannot display cloud-stored pictures

前端无法显示云存储的图片
框架类型 问题类型 终端类型 AppID 环境ID 基础库版本
小程序 Bug 微信安卓客户端 wxf4b1dea1760212f9 ditan-aapsk 2.11.2


这样直接将FileID给src,会被认为是在读一个本地文件。

报错如下

Failed to load local image resource /pages/manageDatabase/cloud://ditan-aapsk.6469-ditan-aapsk-1302421193/ditan/614201812.png the server responded with a status of 500 (HTTP/1.1 500 Internal Server Error) 

除了获取临时文件之外,还有没有其他解决方法?


Framework type problem type terminal type appid environment ID basic library version applet bug wechat Android client wxf4b1dea1760212f9 Ditan aapsk 2.11.2 directly sending the fileid to SRC will be considered as reading a local file. The following error is reported: failed to load local image resource / pages / managedatabase/ cloud://ditan-aapsk.6469-ditan-aapsk-1302421193/ditan/614201812.png The server responded with a status of 500 (HTTP / 1.1500 internal server error) besides obtaining temporary files, is there any other solution?

回答:

天天:

开发者工具可能会有问题,试试真机

新太阳:

十年开发经验,技术成熟,有丰富的开发经验和架构知识,可以提供一条龙开发服务,欢迎各位前来咨询,很期待为您服务

陈宇明:直接用F

-EOF-

AI助手支持GPT4.0