From c1a741466ca1c21fcd4c7bd64390a73c519973c1 Mon Sep 17 00:00:00 2001 From: Chopper Date: Wed, 11 Aug 2021 22:29:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E7=AB=AF=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=A7=92=E6=9D=80=E6=B4=BB=E5=8A=A8=E5=88=97=E8=A1=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seller/src/views/promotion/seckill/seckill.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); },