Мелкие поправки
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user