更新:2020-03-31 16:47阅读:505var dtask = plus.downloader.createDownload(path, { method: "GET" }, function(d, status) { if (status == 200) { myApp.hidePreloader(); alert("文件:" + d.filename + "下载成功!"); plus.runtime.openFile(d.filename, {}, function(e) { myApp.alert("文件打开失败"); }); } else { myApp.hidePreloader(); myApp.alert("文件打开失败"); } }); dtask.start();