فهرست منبع

更改防抖机制

gcz 2 سال پیش
والد
کامیت
6a94f451d6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -203,7 +203,7 @@
         this.getPageData();
       },
       getPageData(){
-        debounce(this.debounceGetData, 500, false)
+        debounce(this.debounceGetData, 1000, true)
       },
       debounceGetData(){
         if(this.page==1){