mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 修复rating计算错误的问题
This commit is contained in:
1 parent
ecadd08cec
commit
5cae54ed0a
4 files changed
+6
-5
No files matched your search
@@ -120,7 +120,7 @@ export async function calcLevel(domainId: string, report: Function) {
|
||||
|
||||
async function runInDomain(id: string, isSub: boolean, report: Function) {
|
||||
const info = await domain.getUnion(id);
|
||||
info.union.push(id);
|
||||
if (info) info.union.push(id);
|
||||
const udict: ND = {};
|
||||
const deltaudict: ND = {};
|
||||
const domainId = info ? { $in: info.union } : { $exists: false };
|
||||
|
||||
Reference in new issue
Block a user