mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
core: 修复错误
* 无法下载测试数据的问题 * 无法导出作业成绩单的问题 * cli 模式无法载入的问题 * syzoj 导入跳转错误的问题
This commit is contained in:
1 parent
66639b14de
commit
f0b9bee937
8 files changed
+19
-26
No files matched your search
@@ -304,7 +304,7 @@ export class HandlerCommon {
|
||||
try {
|
||||
const { anchor } = args;
|
||||
if (args.domainId) name += '_with_domainId';
|
||||
else if (this.domain.host !== this.request.host && this.domainId !== 'system') {
|
||||
else if (this.domain?.host !== this.request.host && this.domainId !== 'system') {
|
||||
name += '_with_domainId';
|
||||
args.domainId = this.domainId;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user