Commit e39d4cb2 authored by 好多大米's avatar 好多大米 Committed by GitHub

Button: fix disabled priority (#21375)

parent d0ed7f94
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
}, },
buttonDisabled() { buttonDisabled() {
return this.disabled || (this.elForm || {}).disabled; return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment