mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-12 14:12:08 +08:00
@@ -47,6 +47,8 @@ function search(searchKey: string) {
|
|||||||
searchResults.value = [];
|
searchResults.value = [];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// 将搜索关键词转换为小写,确保大小写不敏感的搜索
|
||||||
|
searchKey = searchKey.toLowerCase();
|
||||||
|
|
||||||
// 使用搜索关键词创建正则表达式
|
// 使用搜索关键词创建正则表达式
|
||||||
const reg = createSearchReg(searchKey);
|
const reg = createSearchReg(searchKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user