修复快速打开面板文件名大小写不正确问题

This commit is contained in:
purocean
2019-12-27 10:34:26 +08:00
parent 56ddfdfaf2
commit 766bd7cd15
+2 -2
View File
@@ -103,8 +103,8 @@ export default {
this.$refs.fileName.concat(this.$refs.filePath).forEach(function (it) {
let text = ''
it.innerText.toLowerCase().split('').forEach(char => {
if (search.indexOf(char) > -1) {
it.innerText.split('').forEach(char => {
if (search.indexOf(char.toLowerCase()) > -1) {
text += `${openF}${char}${closeF}`
} else {
text += char