# goToWeexPage
跳转weex页面,传参json对象
# 调用方式
goToWeexPage(params)
1
无直接返回值;不要对调用结果使用 then/catch。
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
params | Object | Y | {} | 参数对象,key-value形式,weexJS字段为页面路径 |
# 接口调用示例
// 跳转首页列表
this.$bridge.goToWeexPage({
weexJS: 'home/homeList.js'
})
// 跳转邀请成员页面,传递额外参数
this.$bridge.goToWeexPage({
weexJS: 'home/inviteMember.js',
homegroupId: ''
})
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
this.$bridge.goToWeexPage(params)
1
# 返回参数
无直接返回值。