Skip to content

Conversation

@North-al
Copy link

@North-al North-al commented Aug 7, 2025

新增两个组件:

  • Avatar:用于展示头像,可为图片、图标或文本,支持自定义大小、形状等;
  • AvatarGroup:头像组组件,可用于成员头像组合展示。

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2025

Codecov Report

❌ Patch coverage is 85.13514% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.68%. Comparing base (ec5b45b) to head (2168c39).
⚠️ Report is 168 commits behind head on main.

Files with missing lines Patch % Lines
packages/vant/src/avatar-group/AvatarGroup.tsx 80.00% 3 Missing and 5 partials ⚠️
packages/vant/src/avatar/Avatar.tsx 90.62% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13586      +/-   ##
==========================================
+ Coverage   89.60%   89.68%   +0.08%     
==========================================
  Files         257      261       +4     
  Lines        7013     7117     +104     
  Branches     1736     1769      +33     
==========================================
+ Hits         6284     6383      +99     
- Misses        384      388       +4     
- Partials      345      346       +1     

☔ 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.

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