diff --git a/packages/www/src/App.vue b/packages/www/src/App.vue index 31be71b..16e3018 100644 --- a/packages/www/src/App.vue +++ b/packages/www/src/App.vue @@ -185,7 +185,7 @@ export default { search() { if ('' !== this.keyword) { - this.rules = this.rules.filter(({ title }) => -1 !== title.indexOf(this.keyword.toLowerCase())); + this.rules = this.rules.filter(({ title }) => -1 !== title.toLowerCase().indexOf(this.keyword.toLowerCase())); } else { this.rules = RULES; }