From c70a6b2f684f0b3d952771468917442d6be9dff7 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Mon, 26 Aug 2024 17:51:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=AE=A2=E4=BA=BA=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BF=87=E6=BB=A4=E6=8E=89=E4=B8=8B=E6=9E=B6?= =?UTF-8?q?=E7=9A=84=E5=8D=95=E8=A7=84=E6=A0=BC=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/components/table-diancan.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/table/components/table-diancan.vue b/src/views/table/components/table-diancan.vue index 07a16a8..6d6a37c 100644 --- a/src/views/table/components/table-diancan.vue +++ b/src/views/table/components/table-diancan.vue @@ -2384,16 +2384,16 @@ export default { }, async getGoods() { const res = await getGoodsLists(this.goods.query); - console.log(res); - this.goods.list = res.records.filter((v) => { + const goods= res.records.filter((v) => { let isShow = true; if (v.typeEnum !== "sku") { isShow = v.specList.length >= 1; } return isShow; }); + this.goods.list =goods this.goods.total = res.total; - this.$goodsData = res; + this.$goodsData = goods; }, async open(item) { this.table = item;