Мелкие поправки

This commit is contained in:
Book Pauk
2019-08-23 12:48:32 +07:00
parent 036547e260
commit 4fe5b44655
2 changed files with 6 additions and 4 deletions

View File

@@ -137,12 +137,13 @@ class HistoryPage extends Vue {
return; return;
this.initing = true; this.initing = true;
await this.updateTableData(10); await this.updateTableData(3);
await utils.sleep(200); await utils.sleep(200);
await this.updateTableData(20);
await utils.sleep(800);
if (!bookManager.loaded) { if (bookManager.loaded) {
await this.updateTableData(10);
await utils.sleep(1800);
} else {
let i = 0; let i = 0;
let j = 5; let j = 5;
while (i < 500 && !bookManager.loaded) { while (i < 500 && !bookManager.loaded) {

View File

@@ -90,6 +90,7 @@ class BookManager {
await this.cleanBooks(); await this.cleanBooks();
await this.cleanRecentBooks(); await this.cleanRecentBooks();
this.recentChanged = true;
this.loaded = true; this.loaded = true;
this.emit('load-stored-finish'); this.emit('load-stored-finish');
} }