We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android APP 开发环境:Windows 10+HBuilderX 打包:DCloud云打包
内容中的
<img src='/static/xxx.png'>
在模拟器中测试,可以正确显示,云打包后安装到真机测试,均无法显示,点击后自动进入图片列表预览界面,也一直显示loading转圈,不能显示。 试过改成相对路径 <img src='../../static/xxx.png'> 或者 <img src='@/static/xxx.png'> 或者 <img src='file://static/xxx.png'> 都不行。
<img src='../../static/xxx.png'>
<img src='@/static/xxx.png'>
<img src='file://static/xxx.png'>
两台测试真机分别为红米Note 11T Pro和荣耀V20(没升级鸿蒙,为基于安卓10的操作系统)
每次都能复现
The text was updated successfully, but these errors were encountered:
使用 image 标签试试
image
Sorry, something went wrong.
No branches or pull requests
使用环境
Android APP
开发环境:Windows 10+HBuilderX
打包:DCloud云打包
问题描述
内容中的
<img src='/static/xxx.png'>
在模拟器中测试,可以正确显示,云打包后安装到真机测试,均无法显示,点击后自动进入图片列表预览界面,也一直显示loading转圈,不能显示。
试过改成相对路径
<img src='../../static/xxx.png'>
或者
<img src='@/static/xxx.png'>
或者
<img src='file://static/xxx.png'>
都不行。
两台测试真机分别为红米Note 11T Pro和荣耀V20(没升级鸿蒙,为基于安卓10的操作系统)
复现方式
每次都能复现
The text was updated successfully, but these errors were encountered: