没有任何报错依旧跳转不了页面,从tabBar页面跳转到其他页面,怎么搞?求求大佬救救小白

发布于 6 年前作者 huxiuying13971 次浏览最后编辑 6 年前来自 ask

1 回复
hkong
hkong1 楼4 年前

看看是否有报错

wx.switchTab({
  url: '...',
  success() {
    console.log('success');
  },
  fail(err) {
    console.log(err);
  },
});