8166f2c939
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 52s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 57s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 1m1s
AI Code Review / AI Code Review (pull_request) Successful in 1m22s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1441h0m24s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 1441h0m40s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1441h1m9s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1441h1m58s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1441h1m59s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1441h2m1s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1441h2m1s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1441h2m3s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1441h2m3s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1441h2m1s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1441h2m1s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1441h2m3s
CI/CD Pipeline / Check if frontend-only change (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1441h34m1s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1441h34m2s
根因:batchDeleteAssets 直接返回 response.data,当后端返回字段缺失或格式不一致时, Drawer 中 operationResult.succeeded.length 会报 Cannot read properties of undefined (reading 'length'), 导致整个页面白屏崩溃。 修复: 1. API 层新增 normalizeBatchResult(),统一归一化4个批量操作返回值,succeeded/failed 缺失时默认空数组 2. AssetLibrary 组件层增加 Array.isArray 防御,apiAssets / apiLibraries 非数组时兜底为空数组 3. 覆盖场景:删除全部素材、删除部分素材、删除后再上传,均不会白屏