mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-11 22:50:45 +08:00
✨ 前端搜索过滤如 (2025) 的年份字符
This commit is contained in:
parent
e975b2822b
commit
de37c26423
@ -955,6 +955,7 @@
|
||||
}
|
||||
},
|
||||
searchSuggestions(index, taskname, deep = 1) {
|
||||
taskname = taskname.replace(/\((19|20)\d{2}\)/g, '').trim();
|
||||
if (taskname.length < 2) {
|
||||
console.log(`任务名[${taskname}]过短${taskname.length} 不进行搜索`);
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user