소스 검색

Поправил таймаут, улучшение скорости синхронизации

Book Pauk 3 년 전
부모
커밋
45c6d3da77
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/components/Reader/Reader.vue

+ 1 - 1
client/components/Reader/Reader.vue

@@ -310,7 +310,7 @@ class Reader {
                 await this.$nextTick();
                 this.paramPosIgnore = false;
             }
-        }, 500, {maxWait: 5000});
+        }, 250, {maxWait: 5000});
 
         this.scrollingSetRecentBook = _.debounce((newValue) => {
             this.debouncedSetRecentBook(newValue);