未验证 提交 84debd47 编写于 作者: Z zengyawen 提交者: Gitee

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

Signed-off-by: Nzengyawen <zengyawen1@huawei.com>
上级 b675407c
...@@ -14,7 +14,7 @@ import uri from '@ohos.uri' ...@@ -14,7 +14,7 @@ import uri from '@ohos.uri'
### 属性 ### 属性
**系统能力:** 以下各项对应的系统能力均为SystemCapability.Utils.Lang **系统能力:** SystemCapability.Utils.Lang
| 名称 | 参数类型 | 可读 | 可写 | 说明 | | 名称 | 参数类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
...@@ -41,7 +41,7 @@ constructor是URI的构造函数。 ...@@ -41,7 +41,7 @@ constructor是URI的构造函数。
| 参数名 | 类型 | 可读 | 可写 | 说明 | | 参数名 | 类型 | 可读 | 可写 | 说明 |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
| url | string | 是 | 是 | 入参对象。 | | uri | string | 是 | 是 | 入参对象。 |
**示例:** **示例:**
...@@ -71,7 +71,7 @@ toString(): string ...@@ -71,7 +71,7 @@ toString(): string
**示例:** **示例:**
```js ```js
const url = new uri.URL('http://username:password@host:8080/directory/file?query=pppppp#qwer=da'); const url = new uri.URI('http://username:password@host:8080/directory/file?query=pppppp#qwer=da');
url.toString() url.toString()
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册