Skip to content

Commit

Permalink
修复快速打开面板文件名大小写不正确问题
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Dec 27, 2019
1 parent 56ddfdf commit 766bd7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/QuickOpen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 766bd7c

Please sign in to comment.