Sfoglia il codice sorgente

资料归集,翻页相关

MaiXinRong 2 anni fa
parent
commit
56bb2c1950
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      app/public/js/file_detail.js

+ 2 - 0
app/public/js/file_detail.js

@@ -244,12 +244,14 @@ $(document).ready(function() {
         prePage() {
             if (this.curPage === 1) return;
             this.curPage = this.curPage - 1;
+            this.refreshPages();
             this.refreshFilesTable();
         }
         async nextPage() {
             if (this.curPage === this.curTotalPage) return;
             await filingObj.loadFiles(this.curFiling, this.curPage + 1);
             this.curPage = this.curPage + 1;
+            this.refreshPages();
             this.refreshFilesTable();
         }
         getCurFilingFullPath(){