Button: fixDisabledPriority_Issues-21375And21996

pull/22031/head
lujialong 2022-07-26 11:47:56 +08:00
parent 8ab1db83c5
commit 0a7e17aea3
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
}, },
buttonDisabled() { 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;
} }
}, },