diff --git a/pkg_product/views/heritage/index.vue b/pkg_product/views/heritage/index.vue index 55e3ccd..7e90381 100644 --- a/pkg_product/views/heritage/index.vue +++ b/pkg_product/views/heritage/index.vue @@ -137,7 +137,7 @@ export default { handleTab(index, item) { this.actived = index this.cacheList = item.contents - this.contents = this.cacheList + this.contents = this.cacheList.filter(e => e.name.indexOf(this.keyword) > -1) this.categoryId = item.ichCategoryId this.getRecommend() },