qukaidi 4 lat temu
rodzic
commit
ea4aaa1d3e
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      src/views/morePage/stock/index.vue

+ 3 - 3
src/views/morePage/stock/index.vue

@@ -609,7 +609,7 @@ export default {
     getList() {
       this.loading = true;
       selectAuditItems(this.queryParams).then((response) => {
-        response.data.map((e) => {
+        response.rows.map((e) => {
           if (e.sendTime) {
             e.sendTime = e.sendTime.slice(0, 10);
           }
@@ -690,8 +690,8 @@ export default {
           }
         });
         console.log(response)
-        this.selectAuditList = response.data;
-        this.total = response.total?response.total:10;
+        this.selectAuditList = response.rows;
+        this.total = response.total;
         this.loading = false;
       });
     },