mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
[Input Number] Correctly compute inputNumberDisabled (#18439)
This commit is contained in:
parent
7122ddb9e5
commit
091f63ad78
@ -168,7 +168,7 @@
|
||||
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
||||
},
|
||||
inputNumberDisabled() {
|
||||
return this.disabled || (this.elForm || {}).disabled;
|
||||
return this.disabled || !!(this.elForm || {}).disabled;
|
||||
},
|
||||
displayValue() {
|
||||
if (this.userInput !== null) {
|
||||
|
Loading…
Reference in New Issue
Block a user