未验证 提交 0b669611 编写于 作者: R renhw001 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-image.md.

Signed-off-by: Nrenhw001 <renhongwei9@huawei.com>
上级 7ebba9e0
...@@ -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.cacheDir() + "/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.
先完成此消息的编辑!
想要评论请 注册