mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
judge: fix cache prune
This commit is contained in:
1 parent
43c4bfd8e7
commit
ba2cbffbfd
3 files changed
+6
-4
No files matched your search
@@ -66,7 +66,7 @@ export class ProblemMainHandler extends ProblemHandler {
|
||||
let sort: number[];
|
||||
if (q) {
|
||||
path[1][1] = 'problem_main';
|
||||
path.push([q, null, null, true]);
|
||||
path.push([`${this.translate('Keyword')}: ${q}`, null, null, true]);
|
||||
if (search) {
|
||||
const result = await search(domainId, q);
|
||||
query.docId = { $in: result };
|
||||
|
||||
Reference in new issue
Block a user