mirror of
https://github.com/purocean/yn.git
synced 2026-10-13 07:38:54 +08:00
修复快速打开面板文件名大小写不正确问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user