src/views/productManage/product/index.vue
@@ -126,15 +126,16 @@ page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { if (res.data.code === 200) { const list = res.data.data.list.map((item) => { if (res.code === 200) { const list = res.data.list.map((item) => { return { ...item, supplierName: item.supplier.name, supplierNumber: item.supplier.number } }) this.tableList.tableInfomation = list || [] this.pagerOptions.totalCount = res.data.data.total this.pagerOptions.totalCount = res.data.total } }) },