Input: fix when value is zero (#10714)

pull/10716/head
杨奕 2018-04-15 14:45:52 +08:00 committed by GitHub
parent 7c3cadba5c
commit 769db14516
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@
data() {
return {
currentValue: this.value || '',
currentValue: this.value === undefined ? '' : this.value,
textareaCalcStyle: {},
prefixOffset: null,
suffixOffset: null,