mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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",
|
"name": "hydrooj",
|
||||||
"version": "2.28.19",
|
"version": "2.28.20",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "dist/loader.js",
|
"main": "dist/loader.js",
|
||||||
"typings": "dist/loader.d.ts",
|
"typings": "dist/loader.d.ts",
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ const oi: ContestRule = {
|
|||||||
);
|
);
|
||||||
for (const pid of tdoc.pids) {
|
for (const pid of tdoc.pids) {
|
||||||
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
// 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({
|
row.push({
|
||||||
type: 'records',
|
type: 'records',
|
||||||
value: '',
|
value: '',
|
||||||
|
|||||||
Reference in new issue
Block a user