From 08e2ab412573cc25bc30afc50cc3908497526e21 Mon Sep 17 00:00:00 2001 From: Richex Date: Sun, 7 Mar 2021 15:37:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=A4=A7=E5=86=99=E5=AD=97=E6=AF=8D=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/www/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }