Files
sexygoat b611808316
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 1m48s
fix: 优化换货
2026-05-14 12:14:05 +08:00

1.3 KiB

ADDED Requirements

Requirement: Homepage top summary SHALL display ICCID above the package name

The system SHALL display an ICCID line above the package name in the homepage top summary card after asset information is loaded.

Scenario: Asset info returns an ICCID value

  • WHEN the homepage loads asset information successfully
  • AND the response contains data.iccid
  • THEN the top summary card SHALL display ICCID: <value> above the package name

Scenario: Asset info does not return an ICCID value

  • WHEN the homepage loads asset information successfully
  • AND data.iccid is empty or missing
  • THEN the top summary card SHALL still display the ICCID field
  • AND the field SHALL show a stable fallback value

Requirement: Homepage ICCID SHALL use the asset info response as the source of truth

The system SHALL source the homepage ICCID value from data.iccid returned by /api/c/v1/asset/info?identifier=....

Scenario: Homepage refreshes asset information

  • WHEN the homepage reads or refreshes asset information from /api/c/v1/asset/info
  • THEN the ICCID shown in the top summary card SHALL be updated from data.iccid
  • AND the header SHALL NOT depend on deriving the display value from a different ICCID field for this summary position