mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
core: 修复题目搜索页面面包屑无法点击的问题
This commit is contained in:
1 parent
d662c55034
commit
2fe5d37c03
4 files changed
+6
-6
No files matched your search
@@ -64,6 +64,7 @@ export class ProblemMainHandler extends ProblemHandler {
|
||||
];
|
||||
if (q) {
|
||||
query.$text = { $search: q };
|
||||
path[1][1] = 'problem_main';
|
||||
path.push([q, null, null, true]);
|
||||
}
|
||||
if (!this.user.hasPerm(PERM.PERM_VIEW_PROBLEM_HIDDEN)) query.hidden = false;
|
||||
|
||||
Reference in new issue
Block a user