Fix:2723 【非遗技艺】搜索后切换分类,轮播区域数据没有根据搜索词条进行展示,改为搜索以后,切换分类时也保留搜索结果
This commit is contained in:
@@ -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()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user