diff --git a/seller/src/views/promotion/seckill/seckill.vue b/seller/src/views/promotion/seckill/seckill.vue index 30ec1e06..373b0dd8 100644 --- a/seller/src/views/promotion/seckill/seckill.vue +++ b/seller/src/views/promotion/seckill/seckill.vue @@ -54,7 +54,7 @@ - @@ -71,7 +71,7 @@ export default { loading: true, // 表单加载状态 searchForm: { // 搜索框初始化对象 - pageNumber: 0, // 当前页数 + pageNumber: 1, // 当前页数 pageSize: 10, // 页面大小 sort: "startTime", order: "desc", // 默认排序方式 @@ -145,7 +145,7 @@ export default { }, // 分页 改变页码 changePage(v) { - this.searchForm.pageNumber = v - 1; + this.searchForm.pageNumber = v; this.getDataList(); }, // 分页 改变页数 @@ -155,7 +155,7 @@ export default { }, // 搜索 handleSearch() { - this.searchForm.pageNumber = 0; + this.searchForm.pageNumber = 1; this.searchForm.pageSize = 10; this.getDataList(); }, @@ -163,7 +163,7 @@ export default { handleReset() { this.searchForm = {}; this.selectDate = ""; - this.searchForm.pageNumber = 0; + this.searchForm.pageNumber = 1; this.searchForm.pageSize = 10; this.getDataList(); },