Исправления багов

This commit is contained in:
Book Pauk
2019-03-24 14:04:21 +07:00
parent e4257e50f0
commit 2d15aa88d4
4 changed files with 16 additions and 7 deletions

View File

@@ -97,9 +97,10 @@ class BookManager {
/*if (key) {
for (let i = 0; i < 1000; i++) {
const k = this.keyFromUrl(i.toString());
this.recent[k] = Object.assign({}, _.cloneDeep(this.recent[key]), {key: k, touchTime: Date.now() - 1000000});
this.recent[k] = Object.assign({}, _.cloneDeep(this.recent[key]), {key: k, touchTime: Date.now() - 1000000, url: utils.randomHexString(300)});
}
}*/
await this.cleanBooks();
//очистка позже