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

!15533 翻译完成:14453【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-uri.md (cherry-pick)

Merge pull request !15533 from wusongqing/cherry-pick-1678100666
......@@ -226,9 +226,9 @@ Checks whether this URI is an absolute URI (whether the scheme component is defi
```js
const uriInstance = new uri.URI('https://username:password@www.qwer.com:8080?query=pppppp');
console.log(uriInstance.checkIsAbsolute()); // true
console.log(`${uriInstance.checkIsAbsolute()}`); // true
const uriInstance1 = new uri.URI('xxx.com/suppliers.htm');
console.log(uriInstance1.checkIsAbsolute()); // false
console.log(`${uriInstance1.checkIsAbsolute()}`); // false
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册