mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-06-08 17:10:05 +08:00
fix: broadcast single task completion status to web ui
This commit is contained in:
@@ -552,6 +552,12 @@ function connectWebSocket(taskUuid) {
|
||||
const logType = getLogType(data.message);
|
||||
addLog(logType, data.message);
|
||||
} else if (data.type === 'status') {
|
||||
if (data.email) {
|
||||
elements.taskEmail.textContent = data.email;
|
||||
}
|
||||
if (data.email_service) {
|
||||
elements.taskService.textContent = getServiceTypeText(data.email_service);
|
||||
}
|
||||
updateTaskStatus(data.status);
|
||||
|
||||
// 检查是否完成
|
||||
|
||||
Reference in New Issue
Block a user