From 76eebdad76b111f65e49b62f6cf1f6dd93ef3cbe Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Fri, 29 Mar 2024 13:54:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=9A=84=E6=95=B0=E9=87=8F=E4=B8=BA?= =?UTF-8?q?=E9=9B=B6=E6=95=B0=E6=8D=AE=E4=B8=8D=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/category/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pages/category/index.vue b/pages/category/index.vue index 1799877..9746dfd 100644 --- a/pages/category/index.vue +++ b/pages/category/index.vue @@ -37,7 +37,7 @@ - + @@ -305,8 +305,12 @@ this.$navTo('pages/goods/detail', { gislicode }) }, // 跳转店铺列表 - onGoodsList(spname){ - this.$navTo("pages/goods/list?k="+spname+'&dt='+new Date().getTime()) + onGoodsList(spname,count){ + if (count > 0) { + this.$navTo("pages/goods/list?k="+spname+'&dt='+new Date().getTime()) + } else { + this.$error('该店铺不存在标的信息!') + } }, // 跳转资讯中心 onConsulting(consultingId){