未验证 提交 042c61d9 编写于 作者: 冯泽悟 提交者: Gitee

update interface

Signed-off-by: N冯泽悟 <fengzewu@huawei.com>
上级 915544f9
...@@ -949,7 +949,7 @@ createImageSource(uri: string): ImageSource ...@@ -949,7 +949,7 @@ createImageSource(uri: string): ImageSource
```js ```js
//Stage模型 //Stage模型
const context = getContext(this); const context = getContext(this);
const path = context.getCacheDir() + "/test.jpg"; const path = context.cacheDir() + "/test.jpg";
const imageSourceApi = image.createImageSource(path); const imageSourceApi = image.createImageSource(path);
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册