diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index cf3a00b9..49e576d3 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -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) { diff --git a/client/components/Reader/share/bookManager.js b/client/components/Reader/share/bookManager.js index 4caa8c1a..496e8c80 100644 --- a/client/components/Reader/share/bookManager.js +++ b/client/components/Reader/share/bookManager.js @@ -90,6 +90,7 @@ class BookManager { await this.cleanBooks(); await this.cleanRecentBooks(); + this.recentChanged = true; this.loaded = true; this.emit('load-stored-finish'); }