未验证 提交 197e763f 编写于 作者: 毕虎 提交者: Gitee

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

Signed-off-by: N毕虎 <bihu@huawei.com>
上级 8f23a649
......@@ -77,12 +77,9 @@ delete(name: string): void
**示例:**
```js
let urlObject = new Url.URL('https://developer.exampleUrl/?fod=1&bard=2');
let urlObject = Url.URL.parseURL('https://developer.exampleUrl/?fod=1&bard=2');
let paramsObject = new Url.URLParams(urlObject.search.slice(1));
paramsObject.delete('fod');
let urlObject = Url.URL.parseURL('https://developer.exampleUrl/?fod=1&bard=2');
let paramsobject = new Url.URLParams(urlObject.search.slice(1));
paramsobject.delete('fod');
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册