 
  
   English 
 跳转到 tabBar 页面,并关闭其他所有非 tabBar 页面
| 名称 | 类型 | 必填 | 描述 | 
|---|---|---|---|
| options | SwitchTabOptions | 是 | - | 
| 名称 | 类型 | 必填 | 描述 | 
|---|---|---|---|
| url | string | 是 | 需要跳转的 tabBar 页面的路径,路径后不能带参数 | 
| success | (AsyncApiSuccessResult) => void | 否 | 接口调用成功的回调函数 | 
| fail | (UniError) => void | 否 | 接口调用失败的回调函数 | 
| complete | (AsyncApiResult) => void | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) | 
| 名称 | 类型 | 必填 | 描述 | 
|---|---|---|---|
| errMsg | string | 是 | 错误信息 |