savefile在ios下提示saveFile:fail it is not a tempFile?

发布于 7 年前作者 xiangwei11674 次浏览最后编辑 7 年前来自 ask

调用wriefile写入文件,然后再调用savefile保存该文件,在安卓上可以正常保存并且打开文件,在ios上调用savefile会提示saveFile:fail it is not a tempfile,传入的tempfile就是writefile写入时的路径,请问是什么问题?

1 回复
fangmao
fangmao1 楼5 年前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。