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 @@