Skip to content

Commit

Permalink
Fix: avoid empty data
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptru authored Aug 20, 2019
1 parent f015935 commit dbe8829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radio/src/radio-group.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
return (this.elFormItem || {}).elFormItemSize;
},
_elTag() {
return this.$vnode.data.tag || 'div';
return (this.$vnode.data || {}).tag || 'div';
},
radioGroupSize() {
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
Expand Down

0 comments on commit dbe8829

Please sign in to comment.