未验证 提交 2b5728d7 编写于 作者: Z zhangqiang183 提交者: Gitee

fix code in stage

Signed-off-by: Nzhangqiang183 <zhangqiang183@huawei.com>
上级 9545dd9b
......@@ -996,7 +996,7 @@ createImageSource(uri: string): ImageSource
```js
//Stage模型
const context = getContext(this);
const path = context.cacheDir() + "/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.
先完成此消息的编辑!
想要评论请 注册