zuozhengqing
2023-11-22 b0b8b22fc4ac2e76d5e7ab6bc5e6662b2c7fb092
src/views/productManage/product/index.vue
@@ -126,8 +126,8 @@
        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,
@@ -135,7 +135,7 @@
            }
          })
          this.tableList.tableInfomation = list || []
          this.pagerOptions.totalCount = res.data.data.total
          this.pagerOptions.totalCount = res.data.total
        }
      })
    },