mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-13 11:34:02 +08:00
[Input Number] Correctly compute inputNumberDisabled (#18439)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user