feat(transfer): filter ignore case

This commit is contained in:
Volankey 2020-02-06 10:23:18 +08:00
parent 8bf378da24
commit 7fd0636c68

View File

@ -256,7 +256,7 @@ export default {
type: Function,
default: (pattern, option, from) => {
if (!pattern) return true
return ~('' + option.label).indexOf('' + pattern)
return ~('' + option.label).toLowerCase().indexOf(('' + pattern).toLowerCase())
}
}
},