fix: 🐛 解决秒杀商品中分页错误,以及删除看到的冗余代码

master
lemon橪 2022-12-26 18:03:09 +08:00
parent 0ffd0f0c29
commit fcc9a9f8c5
2 changed files with 3 additions and 5 deletions

View File

@ -13,9 +13,7 @@ export default {
components: {
navbar
},
mounted() {
this.pagetype = this.$route.query.pagetype;
},
data() {
return {
layout, //

View File

@ -47,7 +47,7 @@
</Table>
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber + 1"
:current="searchForm.pageNumber"
:total="total"
:page-size="searchForm.pageSize"
@on-change="changePage"
@ -80,7 +80,7 @@ export default {
submitLoading: false, //
searchForm: {
//
pageNumber: 0, //
pageNumber: 1, //
pageSize: 10, //
},
total: 0, //