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

!7160 修改image示例

Merge pull request !7160 from 徐蕊w/master
......@@ -1311,7 +1311,7 @@ modifyImageProperty(key: string, value: string): Promise\<void>
**示例:**
```js
imageSourceApi.modifyImageProperty("ImageWidth", "abc")
imageSourceApi.modifyImageProperty("ImageWidth", "120")
.then(() => {
const w = imageSourceApi.getImageProperty("ImageWidth")
console.info('w', w);
......@@ -1337,7 +1337,7 @@ modifyImageProperty(key: string, value: string, callback: AsyncCallback\<void>):
**示例:**
```js
imageSourceApi.modifyImageProperty("ImageWidth", "abc",() => {})
imageSourceApi.modifyImageProperty("ImageWidth", "120",() => {})
```
### updateData<sup>9+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册