mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
fix(AvatarGroup): pass default size to max avatar
This commit is contained in:
@@ -56,7 +56,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
if (max.value !== undefined && index === max.value) {
|
if (max.value !== undefined && index === max.value) {
|
||||||
return h(Avatar, {
|
return h(Avatar, {
|
||||||
size: props.size,
|
size: props.size || appConfig.ui.avatar.default.size,
|
||||||
text: `+${children.value.length - max.value}`,
|
text: `+${children.value.length - max.value}`,
|
||||||
class: twJoin(ui.value.ring, ui.value.margin)
|
class: twJoin(ui.value.ring, ui.value.margin)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user