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

!15531 翻译完成:14450【轻量级 PR】:master:update zh-cn/application-dev/reference/apis/js-apis-uri.md.

Merge pull request !15531 from wusongqing/TR14450
......@@ -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.
先完成此消息的编辑!
想要评论请 注册