# goToWebUrl
打开web页面(旧webview),默认开启路由和缓存清除
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
url | String | Y | - | 页面地址 |
param | Object | N | {} | 配置参数,如 title 等 |
# 参数代码示例
// 方式1:直接传url
this.$bridge.goToWebUrl('https://www.baidu.com/')
// 方式2:传url和参数对象
this.$bridge.goToWebUrl(url, {
title: '页面标题',
// 其他参数...
})
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8