瀏覽代碼

更改请求方式

gcz 2 年之前
父節點
當前提交
6f82877e1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/index.vue

+ 1 - 1
src/views/index.vue

@@ -282,7 +282,7 @@ export default {
       this.getPageData();
     },
     getPageData() {
-      debounce(this.debounceGetData, 1000, true);
+      debounce(this.debounceGetData, 300, false);
     },
     debounceGetData() {
       console.log('page', this.$store.state.addr.page);