通过检测,这个文件是存在的,可以返回绝对路径,我也在路径中找到了
mui.plusReady(function(){
var flag;
plus.io.resolveLocalFileSystemURL("_downloads/_image/uploaded/.zncd/2015/11/68b755c227fc45d6a7bed63b8ec5e1fc/0.jpg",
function(entry){
console.log(entry.fullPath)
},
function(){
// return downImg(url,fileId);
});
})
但是放到img里就读不出来,求解答
<img src="_downloads/_image/uploaded/.zncd/2015/11/68b755c227fc45d6a7bed63b8ec5e1fc/0.jpg" style="width: 100px;height: 100px;"/>

盼盼
- 发布:2015-11-06 14:53
- 更新:2015-11-06 14:53
- 阅读:1582
0 个回复