Ver Fonte

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

Book Pauk há 6 anos atrás
pai
commit
63861789de
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      client/components/Reader/HistoryPage/HistoryPage.vue

+ 2 - 1
client/components/Reader/HistoryPage/HistoryPage.vue

@@ -142,7 +142,8 @@ class HistoryPage extends Vue {
 
             if (bookManager.loaded) {
                 await this.updateTableData(10);
-                await utils.sleep(1800);
+                if (bookManager.getSortedRecent().length > 10)
+                    await utils.sleep(1800);
             } else {
                 let i = 0;
                 let j = 5;