修复添加信号源时,文件管理筛选后缀会区分大小写的BUG
This commit is contained in:
parent
66d3e9cac1
commit
75b51df049
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue