image组件图片链接可以正常在浏览器和一般的h5页面用img显示,但是在小程序中图片显示不出来?
发布于 7 年前 作者 yan38 1298 次浏览 来自 官方Issues

<image>

图片地址为https://ezmove.ezche.com/static/48079f6fc36152ebcca6b0ad89b5fc40.png

一般H5上显示

小程序上显示

3 回复

请求状态302,被重定向了

在js的data中设置url=https://ezmove.ezche.com/static/48079f6fc36152ebcca6b0ad89b5fc40.png,在wxml中用<image src={{url}}>,试试看行不行

302到登录页了,所以小程序不显示,为什么PC能显示呢,因为你有session,已经登录过系统了

回到顶部