fix: 修复button按钮丢失响应式的问题

pull/22243/head
wy187819 2022-11-11 16:33:54 +08:00
parent 5d7374bf16
commit 97bb96090f
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
},
buttonDisabled() {
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
const disabled = this.disabled;
return this.$options.propsData.hasOwnProperty('disabled') ? disabled : (this.elForm || {}).disabled;
}
},