未验证 提交 4dc2930e 编写于 作者: 葛亚芳 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-uri.md.

Signed-off-by: N葛亚芳 <geyafang@huawei.com>
上级 ea74b5db
......@@ -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.
先完成此消息的编辑!
想要评论请 注册