Skip to content

fix(uploader): add key attribute to UploaderPreviewItem to avoid rendering issues#13743

Open
ascii5 wants to merge 3 commits into
youzan:mainfrom
ascii5:fix/13721
Open

fix(uploader): add key attribute to UploaderPreviewItem to avoid rendering issues#13743
ascii5 wants to merge 3 commits into
youzan:mainfrom
ascii5:fix/13721

Conversation

@ascii5

@ascii5 ascii5 commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

issue: #13721

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.02%. Comparing base (ec5b45b) to head (563d27c).
⚠️ Report is 190 commits behind head on main.

Files with missing lines Patch % Lines
packages/vant/src/uploader/Uploader.tsx 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13743      +/-   ##
==========================================
+ Coverage   89.60%   90.02%   +0.42%     
==========================================
  Files         257      257              
  Lines        7013     7051      +38     
  Branches     1736     1748      +12     
==========================================
+ Hits         6284     6348      +64     
+ Misses        384      366      -18     
+ Partials      345      337       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ascii5

ascii5 commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

更改了key测试用例无法直接拿key值测试,测试了删除中间item的行为

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants