Commit 769db145 authored by 杨奕's avatar 杨奕 Committed by GitHub

Input: fix when value is zero (#10714)

parent 7c3cadba
......@@ -121,7 +121,7 @@
data() {
return {
currentValue: this.value || '',
currentValue: this.value === undefined ? '' : this.value,
textareaCalcStyle: {},
prefixOffset: null,
suffixOffset: null,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment