diff --git a/src/components/avatar/avatar.vue b/src/components/avatar/avatar.vue index 8059a305..faedccd9 100644 --- a/src/components/avatar/avatar.vue +++ b/src/components/avatar/avatar.vue @@ -111,8 +111,8 @@ } }, beforeCreate () { - this.slotTemp = this.$slots.default; - }, + this.slotTemp = this.$slots.default; + }, mounted () { this.setScale(); },