mirror of
https://github.com/Codennnn/vue-color-avatar.git
synced 2025-02-22 05:59:07 +00:00
fix: fix default wrapper shape in VueColorAvatar component to use Circle if not specified
This commit is contained in:
parent
ebfda8b1d1
commit
36599f6e7b
@ -66,7 +66,7 @@ function getWrapperShapeClassName() {
|
||||
}
|
||||
|
||||
function getWrapperShapeStyle() {
|
||||
return SHAPE_STYLE_SET[avatarOption.value.wrapperShape]
|
||||
return SHAPE_STYLE_SET[avatarOption.value.wrapperShape ?? WrapperShape.Circle]
|
||||
}
|
||||
|
||||
const svgContent = ref('')
|
||||
|
Loading…
Reference in New Issue
Block a user