Wx.navigateTo cannot jump to the page set by tabbar

the first tab of tabbar is set to index,. Another page needs to jump to index, Discovery error can not redirect to a tabbar page,. Is there any solution? Thank you


try wx.reLaunch

wx.reLaunch({
    url: 'xxx',
});

found a way, didn't read the document well, use wx.switchTab

Menu