Explorar o código

修改业务空间列表页码问题

haojianlong %!s(int64=5) %!d(string=hai) anos
pai
achega
7f974aab0f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/components/business_space/business/handsontable.vue

+ 2 - 0
src/components/business_space/business/handsontable.vue

@@ -114,6 +114,7 @@ export default {
     getHeader(headers, buildFloorSelectd) {
       this.headers = headers
       this.buildFloorSelectd = buildFloorSelectd
+      this.page.pageNumber = 1
       this.getData()
     },
     getData() {
@@ -610,6 +611,7 @@ export default {
     //切换每页显示多少条数据
     handleSizeChange(val) {
       this.page.pageSize = val
+      this.page.pageNumber = 1
       this.getData()
     },
     //切换页数