From b108c49a7d783e454f9e84d5e75516d22a3bd4fb Mon Sep 17 00:00:00 2001 From: liapples Date: Wed, 24 Nov 2021 20:24:15 +0800 Subject: [PATCH] =?UTF-8?q?channel=5Fid=E6=94=B9=E4=B8=BAcategory=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goodsList/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/goodsList/index.vue b/pages/goodsList/index.vue index 9452c35..b815d5a 100644 --- a/pages/goodsList/index.vue +++ b/pages/goodsList/index.vue @@ -36,16 +36,16 @@ page: 1, isPage: true, pageSize: 20, - channel_id: 0 + category_id: 0 } }, onLoad(e){ - this.channel_id = e.channel_id + this.category_id = e.category_id this.getActivityList(); }, methods: { getActivityList(){ - this.$http(this.API.API_PRODUCTLIST,{page:this.page,channel_id: this.channel_id}).then(res => { + this.$http(this.API.API_PRODUCTLIST,{page:this.page,category_id: this.category_id}).then(res => { let isPage = res.data.next_page_url == null?false:true; this.isPage = isPage; let list = res.data.data;