Avoid iOS permission issue

This commit is contained in:
pandamicro
2017-11-09 11:23:39 +08:00
parent 1300c60ce8
commit 19b378222c
@@ -26,7 +26,7 @@ else {
var filePath = url;
// var localPath = wx.env.USER_DATA_PATH + '/' + filePath;
// Read from package
fs.accessSync(filePath);
// fs.accessSync(filePath);
fs.readFile({
filePath: filePath,
encoding: 'utf8',