# goBack
返回到上一页面(pop 的别名)
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
options | Object | N | {} | 跳转参数选项 |
options.animated | String | N | 'true' | 是否需要跳转动画 |
# 参数代码示例
// 返回上一页(带动画)
this.$bridge.goBack()
// 返回上一页(无动画)
this.$bridge.goBack({ animated: 'false' })
1
2
3
4
5
2
3
4
5
# 接口调用示例
this.$bridge.goBack()
1
# 返回参数
无返回值
# 返回示例
// 无返回值
1