bobo 3 年 前
コミット
17fc3af282
共有1 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 6 0
      pages/luckDraw/components/tabbar.js

+ 6 - 0
pages/luckDraw/components/tabbar.js

@@ -55,6 +55,12 @@ Component({
             this.setData({
                 list: this.data.list
             })
+            if (index == 0) {
+                wx.reLaunch({
+                  url: this.data.list[index].pagePath,
+                })
+                return
+            }
             wx.redirectTo({
               url: this.data.list[index].pagePath,
             })