mirror of https://github.com/ElemeFE/element
Input: fix when value is zero (#10714)
parent
7c3cadba5c
commit
769db14516
|
@ -121,7 +121,7 @@
|
|||
|
||||
data() {
|
||||
return {
|
||||
currentValue: this.value || '',
|
||||
currentValue: this.value === undefined ? '' : this.value,
|
||||
textareaCalcStyle: {},
|
||||
prefixOffset: null,
|
||||
suffixOffset: null,
|
||||
|
|
Loading…
Reference in New Issue