Ver Fonte

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

Book Pauk há 3 anos atrás
pai
commit
45c6d3da77
1 ficheiros alterados com 1 adições e 1 exclusões
  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);