# pop
无刷新返回到上一 weex 页面
 插件首页 weex.js 默认的 viewTag 是:rootView,返回插件首页可以使用
# 请求参数
| Prop | Type | Required | Default | Description | 
|---|---|---|---|---|
options |  Object |  N |  viewTag:Type: String, Default: N/A, Description: 返回指定页面, 指定页面需要设定有 viewTag animated:Type: Boolean, Default: true, Description: 是否需要跳转动画 animatedType:Type: String, Default: slide_rightToLeft, Description: slide_leftToRight由左到右 / slide_topToBottom由上到下 / slide_rightToLeft由右到左 / slide_bottomToTop由下到上 |  跳转参数选项 | 
callback |  Function |  N |  - |  回退后的回调函数 | 
# 接口调用示例
//返回插件首页【`weex.js`】
let params = {
    viewTag: 'rootView'
}
this.$bridge
  .pop(params)
  .then(res => {
    this.$toast(res)
  })
  .catch(err => {
    this.$toast(err)
  })
 1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
tip
intensity插件首页weex.js默认的viewTag是:"rootView",返回插件首页可以使用