未验证 提交 0a916418 编写于 作者: O openharmony_ci 提交者: Gitee

!5600 update filemanager api

Merge pull request !5600 from zhangxingxia/cherry-pick-1655706662
...@@ -120,9 +120,6 @@ listFile(path : string, type : string, options? : {dev? : DevInfo, offset? : num ...@@ -120,9 +120,6 @@ listFile(path : string, type : string, options? : {dev? : DevInfo, offset? : num
} }
} }
}).catch((err) => { }).catch((err) => {
console.log(err) console.log(err)
}); });
``` ```
...@@ -200,7 +197,7 @@ createFile(path : string, filename : string, options? : {dev? : DevInfo}) : P ...@@ -200,7 +197,7 @@ createFile(path : string, filename : string, options? : {dev? : DevInfo}) : P
| 类型 | 说明 | | 类型 | 说明 |
| --- | -- | | --- | -- |
| string | 文件uri | | Promise<string> | 文件uri |
- 异常 - 异常
| 错误名称 | 错误类型 | 错误码 |说明 | | 错误名称 | 错误类型 | 错误码 |说明 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册