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

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;
this.initing = true;
await this.updateTableData(10);
await this.updateTableData(3);
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 j = 5;
while (i < 500 && !bookManager.loaded) {

View File

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