002201 hai 1 ano
pai
achega
71ef174fa3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/views/purchase/task/index.vue

+ 2 - 1
src/views/purchase/task/index.vue

@@ -47,7 +47,8 @@ export default {
     async fetchList(prop, page) {
       try {
         this.loading = true;
-        const { code, rows, total } = await LIST(prop, page);
+        const { pageNum, pageSize } = page;
+        const { code, rows, total } = await LIST(prop, { pageNum, pageSize });
         if (code === 200) {
           this.tableData = rows.map((item, index) => ({
             ...item,