mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-29 12:16:54 +08:00
fix: 页码整数
This commit is contained in:
1 parent
62025e3d6c
commit
243380a022
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<el-pagination @size-change="updatePageSize" @current-change="updateCurrentPage" background layout="prev, pager, next" :page-size="params.size" :page-count="params.total/params.size" :total="params.total" />
|
||||
<el-pagination @size-change="updatePageSize" @current-change="updateCurrentPage" background layout="prev, pager, next" :page-size="params.size" :page-count="Math.round(params.total/params.size)" :total="params.total" />
|
||||
</main>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
Reference in new issue
Block a user