mui.plusReady(function() {
var dtask = plus.downloader.createDownload( "http://pic.youziyue.com/2015/0906/86729564892187_900x300crop.jpg", {}, function ( d, status ) {
// 下载完成
if ( status == 200 ) {
alert( "Download success: " + d.filename );
} else {
alert( "Download failed: " + status );
}
});
dtask.start();
});
在ios中过了几分钟以后就会弹出Download failed:null
4***@qq.com
- 发布:2017-01-09 14:26
- 更新:2017-01-09 14:49
- 阅读:1285
4***@qq.com (作者)
谢谢
2017-01-10 20:19