mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 在新标签页中打开题目
This commit is contained in:
1 parent
f38c749479
commit
9a173e0d37
3 files changed
+8
-1
No files matched your search
@@ -50,6 +50,8 @@ class UserLoginHandler extends Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class UserLogoutHandler extends Handler {
|
class UserLogoutHandler extends Handler {
|
||||||
|
noCheckPermView = true;
|
||||||
|
|
||||||
async get() {
|
async get() {
|
||||||
this.response.template = 'user_logout.html';
|
this.response.template = 'user_logout.html';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import { AutoloadPage } from 'vj/misc/Page';
|
||||||
|
|
||||||
|
export default new AutoloadPage('problemListPage', () => {
|
||||||
|
$('.col--problem-name>a').attr('target', '_blank');
|
||||||
|
});
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.12.27",
|
"version": "4.12.28",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user