表格显示总条数
Showing
4 changed files
with
5 additions
and
4 deletions
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </el-table-column> | 41 | </el-table-column> |
42 | </el-table> | 42 | </el-table> |
43 | <div class="pagination"> | 43 | <div class="pagination"> |
44 | <el-pagination background layout="prev, pager, next" :total="1000"> | 44 | <el-pagination background layout="prev, pager, next,total" :total="total"> |
45 | </el-pagination> | 45 | </el-pagination> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> | ... | ... |
... | @@ -64,7 +64,7 @@ | ... | @@ -64,7 +64,7 @@ |
64 | </el-card> | 64 | </el-card> |
65 | </div> | 65 | </div> |
66 | <div class="pagination"> | 66 | <div class="pagination"> |
67 | <el-pagination background layout="prev, pager, next" :total="1000"> | 67 | <el-pagination background layout="prev, pager, next,total" :total="total"> |
68 | </el-pagination> | 68 | </el-pagination> |
69 | </div> | 69 | </div> |
70 | </div> | 70 | </div> |
... | @@ -91,6 +91,7 @@ export default { | ... | @@ -91,6 +91,7 @@ export default { |
91 | 91 | ||
92 | ], | 92 | ], |
93 | tableHeight: "", | 93 | tableHeight: "", |
94 | total:0 | ||
94 | }; | 95 | }; |
95 | }, | 96 | }, |
96 | mounted() { | 97 | mounted() { | ... | ... |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </el-table-column> | 41 | </el-table-column> |
42 | </el-table> | 42 | </el-table> |
43 | <div class="pagination"> | 43 | <div class="pagination"> |
44 | <el-pagination background layout="prev, pager, next" :total="total" | 44 | <el-pagination background layout="prev, pager, next,total" :total="total" |
45 | :current-page="pageNo" @current-change="handleCurrentChange"> | 45 | :current-page="pageNo" @current-change="handleCurrentChange"> |
46 | </el-pagination> | 46 | </el-pagination> |
47 | </div> | 47 | </div> | ... | ... |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </el-table-column> | 41 | </el-table-column> |
42 | </el-table> | 42 | </el-table> |
43 | <div class="pagination"> | 43 | <div class="pagination"> |
44 | <el-pagination background layout="prev, pager, next" :total="total" | 44 | <el-pagination background layout="prev, pager, next,total" :total="total" |
45 | :current-page="pageNo" @current-change="handleCurrentChange"> | 45 | :current-page="pageNo" @current-change="handleCurrentChange"> |
46 | </el-pagination> | 46 | </el-pagination> |
47 | </div> | 47 | </div> | ... | ... |
-
Please register or sign in to post a comment