From e951f9b56b3d5da5487ad5ab95a40fe1cb5c95cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Sun, 29 Jan 2023 15:52:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ProductList/ProductList.vue | 2 +- pages/classification/classification.vue | 47 +++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/pages/ProductList/ProductList.vue b/pages/ProductList/ProductList.vue index 9df4f55..7eef08c 100644 --- a/pages/ProductList/ProductList.vue +++ b/pages/ProductList/ProductList.vue @@ -64,7 +64,7 @@ watch: { //监听 goodsName() { this.pageNum = 1; - goodsList(this.pageSize, this.pageNum, this.goodsCategoryId, this.goodsName).then(res => { + goodsList(this.pageSize, this.pageNum, this.GoodsCategorychildrenid, this.goodsName).then(res => { this.goodsList = res.rows this.total = res.total }) diff --git a/pages/classification/classification.vue b/pages/classification/classification.vue index afa0c7b..afda6b5 100644 --- a/pages/classification/classification.vue +++ b/pages/classification/classification.vue @@ -1,5 +1,9 @@