我们是通过h5(手机版)做的app 有个需求需要预览和下载文件功能,
之前想着通过uni.downloadFile()下载再通过uni.openDocument()打开,
但是uni.openDocument()不支持H5,就想着先用a标签下载,然后就卡着了
在浏览器上调试没问题,发行后就没反应了,不知道是什么问题,求助!
<a :href="下载网址" target='_blank' style="text-decoration: none;color: #000000;"></a>
2 个回复
DCloud_UNI_GSQ
审查一下
chenguang93
同样的问题