浏览代码

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

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);