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

!19864 修复stage模型示例代码错误

Merge pull request !19864 from zhangqiang183/master
...@@ -996,7 +996,7 @@ createImageSource(uri: string): ImageSource ...@@ -996,7 +996,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.
先完成此消息的编辑!
想要评论请 注册