From fb17d60101d1365d21a078d513675dda980bd4d4 Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Sun, 28 Jun 2026 16:25:10 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.5=20-=20=E6=89=B9=E9=87=8F=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=AF=94=E8=B5=9B=E6=94=AF=E6=8C=81=E5=B7=B2=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E6=AF=94=E8=B5=9B=E5=92=8C=E6=AF=94=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/admin.html | 14 +++++++++----- frontend/js/admin.js | 4 +++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/frontend/admin.html b/frontend/admin.html index 48e5ceb..f32cd79 100644 --- a/frontend/admin.html +++ b/frontend/admin.html @@ -164,11 +164,15 @@

批量添加比赛

- +
diff --git a/frontend/js/admin.js b/frontend/js/admin.js index eafa605..ba334f8 100644 --- a/frontend/js/admin.js +++ b/frontend/js/admin.js @@ -445,7 +445,9 @@ async function batchAddMatches() { away_team: parts[2], match_time: parts[3] || null, round_name: parts[4] || defaultRound || '小组赛', - status: 'upcoming' + status: parts[5] || 'upcoming', + home_score: (parts[6] && parts[6] !== '-') ? parseInt(parts[6]) : null, + away_score: (parts[7] && parts[7] !== '-') ? parseInt(parts[7]) : null }; try {