wx.switchTab({
url: '../index/index',
success: function (e) {
var page = getCurrentPages().pop();
if (page == undefined || page == null) return;
page.onLoad();
}
})
转载地址:https://blog.csdn.net/alokka/article/details/108082163