Skip to content

Commit

Permalink
feat(app): search include
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Jun 1, 2023
1 parent 6f2ee65 commit db31025
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/app/src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ function parseSearch(search: string) {
const before: Date[] = [];

const handlers: Record<string, (word: string) => void> = {
'!,!,-': (word) => {
'包含:': (word) => {
include.push(word);
},
'!,!,-,排除:': (word) => {
keywords.push('-' + word);
},
'fansub:,字幕:,字幕组:': (word) => {
Expand Down

0 comments on commit db31025

Please sign in to comment.