更新 'SrcJyPublic.js'

master
src48597962 9 months ago
parent cf13760018
commit b1477a6605
  1. 6
      SrcJyPublic.js

@ -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);

Loading…
Cancel
Save