From 7540d83b1b32ec411894c4c726fdcdc3afb72643 Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Thu, 9 Feb 2023 17:02:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchPage.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/index/searchPage.vue b/pages/index/searchPage.vue index b7f48a8..9cc1563 100644 --- a/pages/index/searchPage.vue +++ b/pages/index/searchPage.vue @@ -37,7 +37,7 @@ {{item.name}} @@ -125,7 +125,8 @@ export default{ } }) }, - clickSearchItem(item){ + clickSearchItem(item,index){ + this.active=index; this.contentList.filter(i=>{ return i.wx_category_id == item.id })