mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: 仅当记录不同时启用订正模式
This commit is contained in:
1 parent
b1f1ceb4c9
commit
e1465efcd1
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.28.19",
|
||||
"version": "2.28.20",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "dist/loader.js",
|
||||
"typings": "dist/loader.d.ts",
|
||||
|
||||
@@ -208,7 +208,7 @@ const oi: ContestRule = {
|
||||
);
|
||||
for (const pid of tdoc.pids) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
||||
if (isDone(tdoc)) {
|
||||
if (isDone(tdoc) && tsddict[pid]?.rid !== psdict[`${tsdoc.uid}/${pid}`]?.rid) {
|
||||
row.push({
|
||||
type: 'records',
|
||||
value: '',
|
||||
|
||||
Reference in new issue
Block a user