diff --git a/client/components/Reader/HistoryPage/HistoryPage.vue b/client/components/Reader/HistoryPage/HistoryPage.vue index 87ebc299..86eed2a1 100644 --- a/client/components/Reader/HistoryPage/HistoryPage.vue +++ b/client/components/Reader/HistoryPage/HistoryPage.vue @@ -123,7 +123,6 @@ class HistoryPage extends Vue { loading = false; search = null; tableData = []; - key = 0; created() { } @@ -164,13 +163,12 @@ class HistoryPage extends Vue { } rowKey(row) { - return row.rowKey; + return row.key; } async updateTableData(limit) { while (this.updating) await utils.sleep(100); this.updating = true; - this.key++; let result = []; this.loading = !!limit; @@ -232,7 +230,6 @@ class HistoryPage extends Vue { url: book.url, path: book.path, key: book.key, - rowKey: book.key + this.key.toString(), }); if (result.length >= 100) break; diff --git a/client/components/Reader/Reader.vue b/client/components/Reader/Reader.vue index 8d39a83d..57baaaa8 100644 --- a/client/components/Reader/Reader.vue +++ b/client/components/Reader/Reader.vue @@ -73,7 +73,7 @@ - +