Browse Source

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

release/210823_需求对对碰
王饶冀 3 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

@@ -155,7 +155,7 @@ Component({

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

Loading…
Cancel
Save