Explorar o código

资料归集,翻页相关

MaiXinRong %!s(int64=2) %!d(string=hai) anos
pai
achega
56bb2c1950
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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(){