From 25a67623b6ff6a5890247cc7c7eb26c511b906bb Mon Sep 17 00:00:00 2001 From: shuxiaoquan <853623962@qq.com> Date: Fri, 22 Mar 2024 15:38:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/list.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/goods/list.vue b/pages/goods/list.vue index f18fbd1..c18bd83 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -248,8 +248,12 @@ // 设置默认列表显示方式 this.setShowView() // 设置微信公众号链接分享卡片内容 - this.setWxofficialShareData() - this.getGoodsTypeList(options.categoryId) + this.setWxofficialShareData() + console.log(111,options.categoryId!= 'undefined') + if(options.categoryId != 'undefined'){ + this.getGoodsTypeList(options.categoryId) + } + }, methods: {