zhb 1 month ago
parent
commit
6fa479264f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      uni_modules/uni-combox/components/uni-combox/uni-combox.vue

+ 1 - 1
uni_modules/uni-combox/components/uni-combox/uni-combox.vue

@@ -102,7 +102,7 @@ export default {
 		},
 		filterCandidates() {
 			return this.candidates.filter((item) => {
-				return item.toString().indexOf(this.inputVal) > -1
+				return item.toString().toLowerCase().includes(this.inputVal.toLowerCase())
 			})
 		},
 		filterCandidatesLength() {