switchTab成功跳转后调用success,此时能够拿到跳转后页面的page对象,从而调用页面onLoad方法重载页面;
wx.switchTab({
url: '../my/index',
success: function (e) {
var page = getCurrentPages().pop();
if (page == undefined || page == null) return;
page.onLoad();
}
})