Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Avatar): 解决在小程序环境下,使用Avatar.Group无法正常展示头像问题 #1296

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

TralafalgarV
Copy link
Contributor

🤔 这个变动的性质是?

  • 日常 bug 修复

🔗 相关 Issue

💡 需求背景和解决方案

现象:
在小程序环境下,使用Avatar.Group展示一组头像时,头像无法正常展示,且控制台报错。
原因:
小程序环境下想要获取类名列表,需要从classList.tokenList中获取。

image

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • fork仓库代码是否为最新避免文件冲突
  • Files changed 没有 package.json lock 等无关文件

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #1296 (f571034) into next (611e69e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             next    #1296   +/-   ##
=======================================
  Coverage   70.78%   70.78%           
=======================================
  Files         200      200           
  Lines        7907     7907           
  Branches     2270     2270           
=======================================
  Hits         5597     5597           
  Misses       2105     2105           
  Partials      205      205           

@oasis-cloud oasis-cloud added this to the v2.0.12 milestone Aug 9, 2023
@oasis-cloud oasis-cloud merged commit c7fa080 into jdf2e:next Aug 10, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants