小程序怎么读取项目内static中的文件,使用getFileSystemManager().readFile()
filePath填写 '/static/animation/loading.json'
报错readFile:fail permission denied, open /static/animation/loading.json"}
小程序怎么读取项目内static中的文件,使用getFileSystemManager().readFile()
filePath填写 '/static/animation/loading.json'
报错readFile:fail permission denied, open /static/animation/loading.json"}
2 个回复
靐齉齾麤龖龗 - 解决不了问题,那就解决提出问题的人
试试import loading from '/static/animation/loading.json'
HealerLZH
请问怎么解决的。我也是读取项目中的文件,提示permission denied