From 098648cfd08c33f615b10e7f02d1567df669b621 Mon Sep 17 00:00:00 2001 From: zwx1072417 Date: Thu, 5 Jan 2023 11:45:23 +0000 Subject: [PATCH] =?UTF-8?q?fixed=20480c863=20from=20https://gitee.com/zhan?= =?UTF-8?q?gyouyouyou/docs/pulls/13281=20update=20zh-cn/application-dev/re?= =?UTF-8?q?ference/apis/js-apis-uri.md.=20=E5=85=B7=E8=B1=A1=E5=8C=96?= =?UTF-8?q?=E7=9A=84=E7=94=A8=E6=88=B7=E5=90=8D=E5=AF=86=E7=A0=81=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zwx1072417 --- zh-cn/application-dev/reference/apis/js-apis-uri.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-uri.md b/zh-cn/application-dev/reference/apis/js-apis-uri.md index 29e99574ad..1dee31b05c 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-uri.md +++ b/zh-cn/application-dev/reference/apis/js-apis-uri.md @@ -112,8 +112,8 @@ equals(other: URI): boolean **示例:** ```js -const uriInstance = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); -const uriInstance1 = 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://username:password@host:8080/directory/file?query=pppppp#qwer=da'); uriInstance.equals(uriInstance1); ``` ### equalsTo9+ @@ -139,8 +139,8 @@ equalsTo(other: URI): boolean **示例:** ```js -const uriInstance = new uri.URI('https://gg:gaogao@[::]:88/path/path66?foooo#gaogao'); -const uriInstance1 = 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://username:password@host:8080/directory/file?query=pppppp#qwer=da'); uriInstance.equalsTo(uriInstance1); ``` -- GitLab