readFileSync和readFile 为什么提示没有权限访问?
var tempFilePath = “http://speedtest.dallas.linode.com/100MB-dallas.bin”;
var pathArrayBuffer = wx.getFileSystemManager().readFileSync(tempFilePath);
显示如下:
{errMsg: “readFile:fail permission denied, open “http://speedtest.dallas.linode.com/100MB-dallas.bin””} “下载文件失败”