Microseer.navigationMain(object)
返回主页面
- 返回App相应模块的主页面,底部会显示TabBar;
- 当前页面会返回到根页面;
object 参数说明
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| pageType | string | 是 | shop 返回商城首页,mine 返回个人中心页面 |
| success | function | 否 | 接口调用成功的回调函数 |
| fail | function | 否 | 接口调用失败的回调函数 |
| complete | function | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
eg:
var object = {
pageType:'shop'
};
Microseer.navigationMain(object);