|
|
@ -190,12 +190,12 @@ function selectSource() { |
|
|
|
noAutoDismiss: true, |
|
|
|
noAutoDismiss: true, |
|
|
|
toPosition: index, |
|
|
|
toPosition: index, |
|
|
|
extraInputBox: (inputBox = new hikerPop.ResExtraInputBox({ |
|
|
|
extraInputBox: (inputBox = new hikerPop.ResExtraInputBox({ |
|
|
|
hint: "源关键字", |
|
|
|
hint: "源关键字筛选,右边切换源分组", |
|
|
|
title: sourceGroup || "全部", |
|
|
|
title: sourceGroup || "全部", |
|
|
|
onChange(s, manage) { |
|
|
|
onChange(s, manage) { |
|
|
|
//log("onChange:"+s);
|
|
|
|
//log("onChange:"+s);
|
|
|
|
let flist = names.filter(x => x.includes(s)); |
|
|
|
let flist = names.filter(x => x.toLowerCase().includes(s.toLowerCase())); |
|
|
|
tmpList = sourceList.filter(x => x.name.includes(s)); |
|
|
|
tmpList = sourceList.filter(x => x.name.toLowerCase().includes(s.toLowerCase())); |
|
|
|
manage.list.length = 0; |
|
|
|
manage.list.length = 0; |
|
|
|
flist.forEach(x => { |
|
|
|
flist.forEach(x => { |
|
|
|
manage.list.push(x); |
|
|
|
manage.list.push(x); |
|
|
|