FileSystemManager.mkdir创建失败

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

FileSystemManager.mkdir

递归创建文件夹失败

错误信息errMsg: “mkdir:fail no such file or directory http://usr/model/base

参数recursive已经为true了

3 回复
jiehao
jiehao1 楼6 年前

FileSystemManager.mkdir({

    dirPath: ‘test’,

    complete(obj) {

        console.log(obj);

    }

});

同样创建失败,不太明白dirPath 的路径要求

jie36
jie362 楼6 年前

参数recursive已经为true

这个参数这个版本是无效的,只能自己一级一级创建