zhaoxiaohai 3 سال پیش
والد
کامیت
37b2cd6bf4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      components/Yl_Tabbar/index.js

+ 1 - 1
components/Yl_Tabbar/index.js

@@ -55,7 +55,7 @@ Component({
             if (item.label == '更多') return this.setData({
                 show: true
             })
-            this.setData({
+            if (this.data.show) this.setData({
                 show: false
             })
             if (!item) return;