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

!16820 更新文件相关接口

Merge pull request !16820 from 冯泽悟/master
......@@ -949,7 +949,7 @@ createImageSource(uri: string): ImageSource
```js
//Stage模型
const context = getContext(this);
const path = context.getCacheDir() + "/test.jpg";
const path = context.cacheDir() + "/test.jpg";
const imageSourceApi = image.createImageSource(path);
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册