FileSystemManager.removeSavedFile
删除该小程序下已保存的本地缓存文件
参数说明
Object object
| 属性 | 类型 | 默认值 | 必填 | 说明 | 版本 |
|---|---|---|---|---|---|
| filePath | string | 是 | 需要删除的文件路径 | ||
| success | function | 否 | 接口调用成功的回调函数 | ||
| fail | function | 否 | 接口调用失败的回调函数 |
fail参数说明
Object res
| 属性 | 类型 | 说明 | 版本 |
|---|---|---|---|
| errMsg | string | 错误信息 |
res.errMsg 的合法值
| 值 | 说明 | 版本 |
|---|---|---|
| fail file not exist | 指定的 tempFilePath 找不到文件 |