Pārlūkot izejas kodu

改回抖动参数

gcz 2 gadi atpakaļ
vecāks
revīzija
9ec5eaa3a6
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/index.vue

+ 2 - 2
src/views/index.vue

@@ -3,7 +3,7 @@
  * @Author: wangcc
  * @Date: 2022-07-06 15:56:45
  * @LastEditors: gcz
- * @LastEditTime: 2022-11-04 14:48:39
+ * @LastEditTime: 2022-11-04 16:35:18
  * @FilePath: \ntbigscreen\src\views\index.vue
  * @Copyright: Copyright (c) 2016~2022 by wangcc, All Rights Reserved. 
 -->
@@ -468,7 +468,7 @@ export default {
       this.getPageData();
     },
     getPageData() {
-      debounce(this.debounceGetData, 1000, true);
+      debounce(this.debounceGetData, 300, false);
     },
     debounceGetData() {
       console.log('请求数据');