mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 16:31:32 +08:00
优化搜索结果过滤器,避免屏蔽福利时筛选为空
This commit is contained in:
@@ -457,6 +457,7 @@ export default {
|
||||
},
|
||||
searchContents: {
|
||||
handler (list) {
|
||||
list = list.filter(res => !this.setting.excludeR18Films || !this.containsR18Keywords(res.type))
|
||||
this.areas = [...new Set(list.map(ele => ele.area))].filter(x => x)
|
||||
this.searchClassList = [...new Set(list.map(ele => ele.type))].filter(x => x)
|
||||
this.refreshFilteredList()
|
||||
|
||||
Reference in New Issue
Block a user