提交 73099799 编写于 作者: G Gloria

Update docs against 14450

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 7dea9ec9
...@@ -226,9 +226,9 @@ Checks whether this URI is an absolute URI (whether the scheme component is defi ...@@ -226,9 +226,9 @@ Checks whether this URI is an absolute URI (whether the scheme component is defi
```js ```js
const uriInstance = new uri.URI('https://username:password@www.qwer.com:8080?query=pppppp'); 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'); 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.
先完成此消息的编辑!
想要评论请 注册