mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
修复一处可能导致training状态异常的问题
This commit is contained in:
1 parent
b5c1f41dd2
commit
a1aeb521fe
11 files changed
+52
-37
No files matched your search
@@ -14,6 +14,7 @@ import paginate from '../lib/paginate';
|
||||
import {
|
||||
Route, Handler, Types, param,
|
||||
} from '../service/server';
|
||||
import { DomainDoc } from '../interface';
|
||||
|
||||
class DomainRankHandler extends Handler {
|
||||
@param('page', Types.PositiveInt, true)
|
||||
@@ -40,7 +41,7 @@ class DomainRankHandler extends Handler {
|
||||
}
|
||||
|
||||
class ManageHandler extends Handler {
|
||||
domain: any;
|
||||
domain: DomainDoc;
|
||||
|
||||
async prepare({ domainId }) {
|
||||
this.checkPerm(PERM.PERM_EDIT_DOMAIN);
|
||||
|
||||
Reference in new issue
Block a user