Skip to content

Commit 5132f85

Browse files
committed
fix: avatar autoset font size
1 parent a689634 commit 5132f85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/avatar/Avatar.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export default {
2020
icon: String,
2121
},
2222
data () {
23-
this.isExistSlot = false
24-
this.childrenWidth = 0
2523
return {
24+
isExistSlot: false,
25+
childrenWidth: 0,
2626
scale: 1,
2727
}
2828
},

0 commit comments

Comments
 (0)