Ver código fonte

:bug: Fixing a bug.fixed template

萌萌哒SAKURA酱 6 anos atrás
pai
commit
c70daff2df

+ 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