提交 7f07ce38 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 67f5007d
......@@ -4,7 +4,7 @@
>
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.
**Picker** encapsulates system applications, such as **PhotoViewPicker**, **DocumentViewPicker**, and **AudioViewPicker**, and provides capabilities of selecting and saving photos, documents, and audio clips. The application can select the picker as required.
**Picker** encapsulates system applications, such as **PhotoViewPicker**, **DocumentViewPicker**, and **AudioViewPicker**, and provides capabilities of selecting and saving images, videos, documents, and audio clips. The application can select the picker as required.
## Modules to Import
```js
......@@ -394,7 +394,7 @@ async function example() {
console.error('DocumentViewPicker.save failed with err: ' + err);
});
} catch (err) {
console.errort('DocumentViewPicker failed with err: ' + err);
console.error('DocumentViewPicker failed with err: ' + err);
}
}
```
......@@ -430,7 +430,7 @@ async function example() {
console.info('DocumentViewPicker.save successfully, DocumentSaveResult uri: ' + JSON.stringify(DocumentSaveResult));
});
} catch (err) {
console.errort('DocumentViewPicker failed with err: ' + err);
console.error('DocumentViewPicker failed with err: ' + err);
}
}
```
......@@ -463,7 +463,7 @@ async function example() {
console.info('DocumentViewPicker.save successfully, DocumentSaveResult uri: ' + JSON.stringify(DocumentSaveResult));
});
} catch (err) {
console.errort('DocumentViewPicker failed with err: ' + err);
console.error('DocumentViewPicker failed with err: ' + err);
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册