This commit is contained in:
osiris
2024-05-14 15:13:56 +08:00
parent 49be0ddcbc
commit 92347aa62d
6 changed files with 14 additions and 13 deletions
+2 -1
View File
@@ -381,7 +381,8 @@ export default [
if (title != '') {
list = list.filter(item => {
let tmpValue = item.title.toLowerCase()
return tmpValue.indexOf(title.toLowerCase()) !== -1;
let tmpDesc = item.desc.toLowerCase()
return tmpValue.indexOf(title.toLowerCase()) !== -1 || tmpDesc.indexOf(title.toLowerCase()) !== -1;
});
}
//分类筛选