|
@@ -43,7 +43,9 @@
|
|
return (this.elFormItem || {}).elFormItemSize;
|
|
return (this.elFormItem || {}).elFormItemSize;
|
|
},
|
|
},
|
|
_elTag() {
|
|
_elTag() {
|
|
- return (this.$vnode.data || {}).tag || 'div';
|
|
|
|
|
|
+ let tag = (this.$vnode.data || {}).tag;
|
|
|
|
+ if (!tag || tag === 'component') tag = 'div';
|
|
|
|
+ return tag;
|
|
},
|
|
},
|
|
radioGroupSize() {
|
|
radioGroupSize() {
|
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|