core: validator: support 'convert' as default action

fix #505, close #506
This commit is contained in:
undefined committed 2023-02-05 13:07:46 +08:00
1 parent 02c0d7aaa8
commit 1124ed9506
7 files changed
+11 -9

No files matched your search

+1 -1
View File
@@ -379,7 +379,7 @@ export class ProblemDetailHandler extends ContestDetailBaseHandler {
}
@query('tid', Types.ObjectID, true)
@query('pjax', Types.Boolean, true)
@query('pjax', Types.Boolean)
async get(...args: any[]) {
// Navigate to current additional file download
// e.g. ![img](a.jpg) will navigate to ![img](./pid/file/a.jpg)