# goToWebUrl
在APP内置浏览器中打开外部的一个URL地址
# 调用方式
goToWebUrl(url, param = {})
1
无直接返回值;不要对调用结果使用 then/catch。
# 请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| url | String | Y | — | 要打开的网页地址 |
| param | Object | N | {} | 额外 WebView 参数,可覆盖默认参数 |
# 接口调用示例
this.$bridge.goToWebUrl('https://example.com/help', { cleanCacheOnPageEnd: false })
1
# 返回参数
无直接返回值。
# 注意事项
默认 adjustEdgeInset=1、isWebViewRouter=true、cleanCacheOnPageEnd=true。