Files
xiaoxia-saas/apps/web/src/pages/duplication
CI Bot 09a4dbe04c
CI/CD Pipeline / Build Staging API Image (push) Failing after 2s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 2s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 1m58s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1512h46m5s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1512h46m6s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1512h49m31s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1512h49m32s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1512h49m32s
CI/CD Pipeline / Build Production API Image (push) Failing after 1512h49m32s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1513h17m47s
CI/CD Pipeline / Deploy Production (push) Failing after 1513h21m13s
fix: formatDuration 不取整导致显示浮点数秒(如 9.542993秒)
全局搜索发现 4 处 formatDuration 函数中 seconds % 60 未做取整,
当后端返回浮点数 total_duration 时直接拼接显示。

修复:先 Math.round(seconds) 再取模,影响页面:
- 剪辑计划列表页(EditPlans.tsx)
- 模板库页面(TemplateLibrary.tsx)
- 查重详情页(DuplicationDetail.tsx)
- 查重结果页(DuplicationResults.tsx)
2026-07-15 14:39:55 +08:00
..