Your Name 1 year ago
parent
commit
5b01743c38
2 changed files with 2 additions and 8 deletions
  1. 1 4
      src/pages/reader/develop.vue
  2. 1 4
      src/pages/reader/develop2.vue

+ 1 - 4
src/pages/reader/develop.vue

@@ -82,7 +82,7 @@
             min-width="100px"></el-table-column>
         </el-table-column>
       </el-table>
-      <el-pagination style="text-align: center;" @current-change="handleCurrentChange"
+      <el-pagination style="text-align: center;" @current-change="submitForm"
         :current-page.sync="pagination.pageNo" :page-size="pagination.pageSize" layout="total, prev, pager, next"
         :total="pagination.totalSize">
       </el-pagination>
@@ -165,9 +165,6 @@ export default {
       })
       return arr
     },
-    handleCurrentChange(val) {
-      console.log(`当前页: ${val}`);
-    },
     getYesterDay() {
       let yesterday = new Date().getTime() - 86400000;
       return formatDate(yesterday, 2);

+ 1 - 4
src/pages/reader/develop2.vue

@@ -83,7 +83,7 @@
             min-width="100px"></el-table-column>
         </el-table-column>
       </el-table>
-      <el-pagination style="text-align: center;" @current-change="handleCurrentChange"
+      <el-pagination style="text-align: center;" @current-change="submitForm"
         :current-page.sync="pagination.pageNo" :page-size="pagination.pageSize" layout="total, prev, pager, next"
         :total="pagination.totalSize">
       </el-pagination>
@@ -146,9 +146,6 @@ export default {
         }
       });
     },
-    handleCurrentChange(val) {
-      console.log(`当前页: ${val}`);
-    },
     getYesterDay() {
       let yesterday = new Date().getTime() - 86400000;
       return formatDate(yesterday, 2);