From 9df2122fb540e682816c22889e7470fdab52ed81 Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Wed, 10 Dec 2025 20:15:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=97=A5=E5=BF=97=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 状态检查同时支持success和completed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- templates/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 1ff283e..2a1aa18 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1336,8 +1336,9 @@ } else { let html = "
"; logs.forEach(log => { - const statusClass = log.status === "success" ? "status-completed" : (log.status === "failed" ? "status-error" : "status-running"); - const statusText = log.status === "success" ? "成功" : (log.status === "failed" ? "失败" : "进行中"); + const isSuccess = log.status === "success" || log.status === "completed"; + const statusClass = isSuccess ? "status-completed" : (log.status === "failed" ? "status-error" : "status-running"); + const statusText = isSuccess ? "成功" : (log.status === "failed" ? "失败" : "进行中"); html += "
" + "
" + "" + (log.created_at || "") + "" +