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

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

Merge pull request !14450 from 葛亚芳/N/A
......@@ -226,9 +226,9 @@ checkIsAbsolute(): boolean
```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.
先完成此消息的编辑!
想要评论请 注册