image无法在真机显示部分本地图片(getLocalImgData:fail get file)?

小程序 文章 2020-08-05 16:01 835 0 全屏看文

AI助手支持GPT4.0

image无法在真机显示部分本地图片(getLocalImgData:fail get file)?image Cannot display part of the local image (getLocalImgData:fail get file) on the real device?

image无法在真机显示部分本地图片(getLocalImgData:fail get file)?

组件:image

基础库版本:2.12.0

真机型号:iPhone XR

项目代码:

真机报错:

尝试解决办法:

将SVG图片改为PNG格式:无效;

重命名SVG图片:无效;

在图片路径添加多一级:无效;

将图片路径移动到上一级:有效(但是我无法确定该页面有多少图片需要更改)

Component: image basic library version: 2.12.0 real machine model: iPhone XR project code: real machine error: try to solve: change SVG image to PNG format: invalid; rename SVG image: invalid; add one level in image path: invalid; move image path to a higher level: valid (but I can't determine how many images on this page need to be changed)

回答:

?:

应该是图片层级问题索引没找到。

Distance:

图片与页面的目录路径截图一下?

Hey,Jude!:

在开发者工具的编译器上是可以正常显示的,不会报错!

-EOF-

AI助手支持GPT4.0