fix(products): 查重率 0 时显示 0.0% 而非 - #1619

Merged
xiaoxia merged 1 commits from fix/duplicate-rate-display into develop 2026-09-01 23:17:28 +08:00
Owner

ProductCard.tsx 第224行查重率显示逻辑修复:

  • Before: product.duplicateRate > 0 → 0 时显示 "-"
  • After: product.duplicateRate != null → 0 时显示 "0.0%",只有 null/undefined 时才显示 "-"
ProductCard.tsx 第224行查重率显示逻辑修复: - Before: `product.duplicateRate > 0` → 0 时显示 "-" - After: `product.duplicateRate != null` → 0 时显示 "0.0%",只有 null/undefined 时才显示 "-"
xiaoxia added 1 commit 2026-09-01 23:04:18 +08:00
fix(products): 查重率 0 时显示 0.0% 而非 -
CI/CD Pipeline / Check push changed paths (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 1s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 1s
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / PR Build API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / PR Build Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 3m29s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 4m35s
AI Code Review / AI Code Review (pull_request) Successful in 4m47s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 4m58s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 5m32s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 5m35s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 5m40s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 6m45s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 6m53s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 3m2s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 5m13s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 27m43s
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 1s
CI/CD Pipeline / Canary Release to Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
b4f32ce262
Collaborator

代码审查结果 - PR #1619

⚠️ 问题(0个需要修改)

💡 建议(0个可选)


格式检查通过 | 逻辑审查通过 | 性能无明显问题


🤖 由 AI 代码审查机器人自动生成 | 2026-09-01 15:09:03 | 模型:

## 代码审查结果 - PR #1619 ### ⚠️ 问题(0个需要修改) 无 ### 💡 建议(0个可选) 无 --- ✅ 格式检查通过 | ✅ 逻辑审查通过 | ✅ 性能无明显问题 --- <sub>🤖 由 AI 代码审查机器人自动生成 | 2026-09-01 15:09:03 | 模型: </sub> <!-- AI_CODE_REVIEW_AUTO_COMMENT -->
auto-approve-bot approved these changes 2026-09-01 23:09:58 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。
auto-approve-bot approved these changes 2026-09-01 23:09:58 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。

🚀 预览环境已部署

项目 详情
PR号 #1619
预览链接 https://pr-1619.preview.xiaoxiajianji.com
API环境 staging

💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。

🔄 每次提交新代码后预览环境会自动更新。

🗑️ PR 关闭或合并后,预览环境会自动清理。

🚀 **预览环境已部署** | 项目 | 详情 | |------|------| | PR号 | #1619 | | 预览链接 | [https://pr-1619.preview.xiaoxiajianji.com](https://pr-1619.preview.xiaoxiajianji.com) | | API环境 | staging | > 💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。 > > 🔄 每次提交新代码后预览环境会自动更新。 > > 🗑️ PR 关闭或合并后,预览环境会自动清理。
xiaoxia merged commit 9c03755318 into develop 2026-09-01 23:17:28 +08:00
xiaoxia deleted branch fix/duplicate-rate-display 2026-09-01 23:17:29 +08:00

🗑️ 预览环境已清理

PR #1619 已关闭或合并,对应的预览环境已被清理。

如有需要,可以重新打开 PR 来重新生成预览环境。

🗑️ **预览环境已清理** PR #1619 已关闭或合并,对应的预览环境已被清理。 > 如有需要,可以重新打开 PR 来重新生成预览环境。
Sign in to join this conversation.