Commit 27a8c155 authored by 杨奕's avatar 杨奕 Committed by GitHub

Input: not show clear button when value is null (#10912)

parent 56cbdef9
......@@ -122,7 +122,9 @@
data() {
return {
currentValue: this.value === undefined ? '' : this.value,
currentValue: this.value === undefined || this.value === null
? ''
: 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