Skip to content

Commit

Permalink
fix(app): use search exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jun 1, 2023
1 parent db31025 commit 2df982b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function parseSearch(search: string) {
include.push(word);
},
'!,!,-,排除:': (word) => {
keywords.push('-' + word);
exclude.push(word);
},
'fansub:,字幕:,字幕组:': (word) => {
if (/^\d$/.test(word)) {
Expand Down

0 comments on commit 2df982b

Please sign in to comment.