修复状态更新

This commit is contained in:
user123456
2025-06-12 16:39:55 +08:00
parent a4c5f0f535
commit 2c1e368b33

View File

@@ -714,9 +714,8 @@
});
if (data.status === 'completed') {
// 任务完成时,将所有"等待打包"状态更新为"完成"
document.querySelectorAll('.image-progress-text').forEach(function(textEl) {
if (textEl.textContent === '等待打包') {
if (textEl.textContent === '打包') {
textEl.textContent = '完成';
}
});