소스 검색

更改防抖机制

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){