mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
⚡️ 来源也算进搜索内容里面
This commit is contained in:
@@ -112,7 +112,11 @@ function searchNamecard() {
|
||||
}
|
||||
} else {
|
||||
const searchResult = AppNameCardsData.filter((item) => {
|
||||
return item.name.includes(search.value) || item.desc.includes(search.value);
|
||||
return (
|
||||
item.name.includes(search.value) ||
|
||||
item.desc.includes(search.value) ||
|
||||
item.source.includes(search.value)
|
||||
);
|
||||
});
|
||||
sortData(searchResult);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user