Browse Source

:bug: Fixing a bug.fixed template

萌萌哒SAKURA酱 6 years ago
parent
commit
c70daff2df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pigx-visual/pigx-codegen/src/main/resources/template/index.vue.vm

+ 2 - 2
pigx-visual/pigx-codegen/src/main/resources/template/index.vue.vm

@@ -83,8 +83,8 @@
       getList(page, params) {
         this.tableLoading = true
         fetchList(Object.assign({
-          page: page.currentPage,
-          limit: page.pageSize
+          current: page.currentPage,
+          size: page.pageSize
         }, params)).then(response => {
           this.tableData = response.data.data.records
           this.page.total = response.data.data.total