diff --git a/en/application-dev/reference/apis/js-apis-document.md b/en/application-dev/reference/apis/js-apis-document.md index a312833ba8d159b6732e2996b9e0aef5cdf46839..045ee7bb3e858c31437bfeac562b5dd8b1f53e1f 100644 --- a/en/application-dev/reference/apis/js-apis-document.md +++ b/en/application-dev/reference/apis/js-apis-document.md @@ -1,7 +1,8 @@ # document > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE:**
-> The interface of this module will be discarded later. +- The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. +- The interface of this module will be discarded later.Calling the following interface throws an exception. It is not recommended to use the following interface in OpenHarmony. ## Modules to Import @@ -9,10 +10,6 @@ import document from '@ohos.document'; ``` -## Guidelines - -Calling the following interface throws an exception. It is not recommended to use the following interface in OpenHarmony. - ## document.choose choose(type:string[]): Promise<string> diff --git a/zh-cn/application-dev/reference/apis/js-apis-document.md b/zh-cn/application-dev/reference/apis/js-apis-document.md index b8aa1fc2800f71091682d9281a310bce45ed02bf..469cd51caa483a597e14d33608412d1a753f94da 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-document.md +++ b/zh-cn/application-dev/reference/apis/js-apis-document.md @@ -1,18 +1,14 @@ # document > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** -> 本模块接口后续将废弃。 - +- 本模块首批接口从API version 6开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 +- 本模块接口后续将废弃。不建议在OpenHarmony使用以下接口,调用以下接口将抛出异常。 ## 导入模块 ```js import document from '@ohos.document'; ``` -## 使用说明 - -调用以下接口抛出异常,不建议在OpenHarmony使用以下接口。 - ## document.choose choose(type:string[]): Promise<string>