mirror of https://github.com/ElemeFE/element
Button: fixDisabledPriority_Issues-21375And21996
parent
8ab1db83c5
commit
0a7e17aea3
|
@ -65,7 +65,7 @@
|
|||
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
||||
},
|
||||
buttonDisabled() {
|
||||
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
||||
return this.elForm ? this.elForm.disabled ? this.elForm.disabled : this.disabled || {}.disabled : this.disabled || {}.disabled;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue