Explorar o código

更改请求方式

gcz %!s(int64=2) %!d(string=hai) anos
pai
achega
6f82877e1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);