From 386878d3b2c54585c3d572ff34b3d5831d5175a1 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期三, 22 十一月 2023 14:50:44 +0800 Subject: [PATCH] 供应商管理-请求头添加token --- src/views/supplierManage/supplier/index.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/supplierManage/supplier/index.vue b/src/views/supplierManage/supplier/index.vue index 9deb6a0..8eb6b99 100644 --- a/src/views/supplierManage/supplier/index.vue +++ b/src/views/supplierManage/supplier/index.vue @@ -278,7 +278,6 @@ name: this.searchSupplierName, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize, - status:1, }).then((res) => { console.log(res) if (res.code === 200) { @@ -324,14 +323,13 @@ page: this.productPagerOptions.currPage, pageSize: this.productPagerOptions.pageSize }).then((res) => { - console.log(res.data) - const list = res.data.data.list.map((item) => { + let list = res.data.list.map((item) => { return { ...item } }) this.productTableList.tableInfomation = list || [] - this.productPagerOptions.totalCount = res.data.data.total + this.productPagerOptions.totalCount = res.data.total }) }, // 鎼滅储渚涘簲鍟� -- Gitblit v1.8.0