Your Name hai 1 ano
pai
achega
5b01743c38
Modificáronse 2 ficheiros con 2 adicións e 8 borrados
  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);