zhaoxiaohai пре 3 година
родитељ
комит
f3b8995908
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      components/My_listBox/index.js

+ 5 - 3
components/My_listBox/index.js

@@ -38,9 +38,11 @@ Component({
         },
         /* 刷新完成 */
         RefreshToComplete() {
-            this.setData({
-                inRefresh: false
-            })
+            setTimeout(() => {
+                this.setData({
+                    inRefresh: false
+                })
+            }, 500)
         },
         /* 加载分页 */
         loadThePage() {