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

This commit is contained in:
Book Pauk
2021-12-03 15:16:39 +07:00
parent 4aab1da3c6
commit 45c6d3da77

View File

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