getBootPath() {
var that = this;
let fullPath;
plus.io.requestFileSystem(plus.io.PUBLIC_DOCUMENTS, function (fs) {
let root = fs.root;
fullPath = root.fullPath;
})
console.log(fullPath)
},
plus.io
来请求文件系统的访问权限
plus.io.PUBLIC_DOCUMENTS
表示请求公共文档目录的文件系统