plus.io.requestFileSystem(plus.io.PRIVATE_DOC, function(fs) {
// 可通过fs进行文件操作
console.log("成功");
plus.io.resolveLocalFileSystemURL("_doc/11.pdf", function(entry) {
let targetpath = fs.root.fullPath;
console.log(targetpath)
entry.copyTo("_doc/aa", "file.copy", function(entry) {
console.log("New Path: " + entry.fullPath);
}, function(e) {
console.log(e.message);
});
});
0 个回复