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

!13284 具象化的用户名密码示例修改【monthly】

Merge pull request !13284 from zwx1072417/cherry-pick-1672919456
...@@ -112,8 +112,8 @@ equals(other: URI): boolean ...@@ -112,8 +112,8 @@ equals(other: URI): boolean
**示例:** **示例:**
```js ```js
const uriInstance = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); const uriInstance = new uri.URI('https://username:password@host:8080/directory/file?query=pppppp#qwer=da');
const uriInstance1 = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); const uriInstance1 = new uri.URI('https://username:password@host:8080/directory/file?query=pppppp#qwer=da');
uriInstance.equals(uriInstance1); uriInstance.equals(uriInstance1);
``` ```
### equalsTo<sup>9+</sup> ### equalsTo<sup>9+</sup>
...@@ -139,8 +139,8 @@ equalsTo(other: URI): boolean ...@@ -139,8 +139,8 @@ equalsTo(other: URI): boolean
**示例:** **示例:**
```js ```js
const uriInstance = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); const uriInstance = new uri.URI('https://username:password@host:8080/directory/file?query=pppppp#qwer=da');
const uriInstance1 = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); const uriInstance1 = new uri.URI('https://username:password@host:8080/directory/file?query=pppppp#qwer=da');
uriInstance.equalsTo(uriInstance1); uriInstance.equalsTo(uriInstance1);
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册