Browse Source

更改请求方式

gcz 2 năm trước cách đây
mục cha
commit
6f82877e1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);