Преглед изворни кода

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

release/210823_需求对对碰
王饶冀 пре 3 година
родитељ
комит
804b5cec85
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      components/tabbar/tabbar.js

+ 1
- 1
components/tabbar/tabbar.js Прегледај датотеку

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

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

Loading…
Откажи
Сачувај