Skip to content

Commit c6216c2

Browse files
authored
Merge pull request #22 from Instanced/master
fix: avatar autoset font size
2 parents a689634 + 5132f85 commit c6216c2

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)