浏览代码

资料归集,翻页相关

MaiXinRong 2 年之前
父节点
当前提交
56bb2c1950
共有 1 个文件被更改,包括 2 次插入0 次删除
  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(){