From 413c490690c56897d2b7ed05815b21e01e149497 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sun, 12 May 2024 01:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/vc-recommend/vc-recommend.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/vc-recommend/vc-recommend.vue b/components/vc-recommend/vc-recommend.vue index 95b8833..1812b86 100644 --- a/components/vc-recommend/vc-recommend.vue +++ b/components/vc-recommend/vc-recommend.vue @@ -90,7 +90,11 @@ }) }, _loadRecommendProdcut: function() { - let _that = this; + let _that = this; + if(!_that.curCategoryId || _that.curCategoryId == -1){ + return ; + } + _that.communityId = getMallCommunityId(); let _data = { page: this.pagefrom+1,