From 2df982bd659cc269e7db8b9f4cacb27c569e1ed9 Mon Sep 17 00:00:00 2001 From: XLor Date: Thu, 1 Jun 2023 20:56:46 +0800 Subject: [PATCH] fix(app): use search exclude --- packages/app/src/components/Search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/Search.tsx b/packages/app/src/components/Search.tsx index fb681ffc..ee5b20fd 100644 --- a/packages/app/src/components/Search.tsx +++ b/packages/app/src/components/Search.tsx @@ -234,7 +234,7 @@ function parseSearch(search: string) { include.push(word); }, '!,!,-,排除:': (word) => { - keywords.push('-' + word); + exclude.push(word); }, 'fansub:,字幕:,字幕组:': (word) => { if (/^\d$/.test(word)) {