# goToH5Page

打开H5页面(旧webview),支持字符串或对象参数

# 请求参数

Prop Type Required Default Description
param String/Object Y - 字符串时为url地址;对象时需包含 url 字段

# 参数代码示例

// 方式1:传url字符串
this.$bridge.goToH5Page('https://example.com/path#hash')

// 方式2:传对象
this.$bridge.goToH5Page({ url: 'https://example.com', title: '标题' })
1
2
3
4
5