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

u-avator在使用mp-avatar属性后,shape属性失效。 #1027

Closed
LinMingYoga opened this issue Jan 10, 2024 · 0 comments
Closed

u-avator在使用mp-avatar属性后,shape属性失效。 #1027

LinMingYoga opened this issue Jan 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LinMingYoga
Copy link

版本

2.0.36

转载链接

www.uviewui.com

重现步骤


期望的结果是什么?

图片是圆角的 或者 圆形的

实际的结果是什么?

图片是直角的,border-radius没有效果。


在中添加style: overflow:hidden;
或在 u-avator组件样式中添加以下样式:
.u-circle, .u-square {
open-data {
overflow: hidden;
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants