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