mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-15 05:42:10 +08:00
resume url search.
This commit is contained in:
parent
d150070212
commit
05ef34afd7
@ -379,6 +379,19 @@ function getItemSearchMap(
|
|||||||
abbrList.push(item);
|
abbrList.push(item);
|
||||||
searchMap.set(abbr, abbrList);
|
searchMap.set(abbr, abbrList);
|
||||||
}
|
}
|
||||||
|
// 网址
|
||||||
|
if ((item as Item).type && (item as Item).type === 2) {
|
||||||
|
let target = (item as Item).data.target;
|
||||||
|
if (target) {
|
||||||
|
let url = target.toLowerCase();
|
||||||
|
let urlList = searchMap.get(url);
|
||||||
|
if (!urlList) {
|
||||||
|
urlList = [];
|
||||||
|
}
|
||||||
|
urlList.push(item);
|
||||||
|
searchMap.set(url, urlList);
|
||||||
|
}
|
||||||
|
}
|
||||||
// 备注
|
// 备注
|
||||||
if (remark) {
|
if (remark) {
|
||||||
let r = (item as Item).data.remark;
|
let r = (item as Item).data.remark;
|
||||||
|
Loading…
Reference in New Issue
Block a user