Commit 16632f06 authored by 刘殿昕's avatar 刘殿昕

ceil拼错了

parent 7cb6860d
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
:disabled="pagination.page == 1" :disabled="pagination.page == 1"
></el-button> ></el-button>
&nbsp;&nbsp;{{ pagination.page }}页 / 共{{ &nbsp;&nbsp;{{ pagination.page }}页 / 共{{
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
}} }}
<el-button <el-button
icon="el-icon-arrow-right" icon="el-icon-arrow-right"
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
@click="handleCurrentChange(1)" @click="handleCurrentChange(1)"
:disabled=" :disabled="
pagination.page >= pagination.page >=
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div> </div>
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
:disabled="pagination.page == 1" :disabled="pagination.page == 1"
></el-button> ></el-button>
&nbsp;&nbsp;{{ pagination.page }}页 / 共{{ &nbsp;&nbsp;{{ pagination.page }}页 / 共{{
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
}} }}
<el-button <el-button
icon="el-icon-arrow-right" icon="el-icon-arrow-right"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
@click="handleCurrentChange(1)" @click="handleCurrentChange(1)"
:disabled=" :disabled="
pagination.page >= pagination.page >=
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div> </div>
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
:disabled="pagination.page == 1" :disabled="pagination.page == 1"
></el-button> ></el-button>
&nbsp;&nbsp;第{{ pagination.page }}页 / 共{{ &nbsp;&nbsp;第{{ pagination.page }}页 / 共{{
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
}}页 }}页
<el-button <el-button
icon="el-icon-arrow-right" icon="el-icon-arrow-right"
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
@click="handleCurrentChange(1)" @click="handleCurrentChange(1)"
:disabled=" :disabled="
pagination.page >= pagination.page >=
Math.cell((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage) Math.ceil((pagination.total == 0 ? 1 : pagination.total) / pagination.rowsPerPage)
" "
></el-button> ></el-button>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment