Browse Source

1 tabbar跳转从 navigateTo 改为 reLaunch 处理重复跳转叠加导致失效的问题!

release/210823_需求对对碰
王饶冀 4 years ago
parent
commit
804b5cec85
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      components/tabbar/tabbar.js

+ 1
- 1
components/tabbar/tabbar.js View File



const url = e.detail.item.pagePath; const url = e.detail.item.pagePath;
// wx.redirectTo({ url }); // wx.redirectTo({ url });
wx.navigateTo({
wx.reLaunch({
url, url,
// success: function (res) { // success: function (res) {
// // 通过eventChannel向被打开页面传送数据 // // 通过eventChannel向被打开页面传送数据

Loading…
Cancel
Save