修复添加信号源时,文件管理筛选后缀会区分大小写的BUG

This commit is contained in:
fangxiang 2022-04-20 08:42:55 +08:00
parent 66d3e9cac1
commit 75b51df049
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ export default defineComponent({
++directory_count.value; ++directory_count.value;
} else { } else {
for (const filter of filters.value) { for (const filter of filters.value) {
if (item.name.endsWith(filter)) { if (item.name.toLowerCase().endsWith(filter)) {
files.value.push(item); files.value.push(item);
++file_count.value; ++file_count.value;
break; break;