diff --git a/components/vc-select/Select.jsx b/components/vc-select/Select.jsx index c13f3c113..d96a1d9ec 100644 --- a/components/vc-select/Select.jsx +++ b/components/vc-select/Select.jsx @@ -164,7 +164,7 @@ const Select = { if (isMultipleOrTags(this.$props)) { const inputNode = this.getInputDOMNode(); const mirrorNode = this.getInputMirrorDOMNode(); - if (inputNode.value && inputNode.value && mirrorNode) { + if (inputNode && inputNode.value && mirrorNode) { inputNode.style.width = ''; inputNode.style.width = `${mirrorNode.clientWidth + 10}px`; } else if (inputNode) {