diff --git a/src/components/select/select.vue b/src/components/select/select.vue index feaff4d..f1e4266 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -638,6 +638,10 @@ value(value){ const {getInitialValue, getOptionData, publicValue} = this; + if (getInitialValue().length > 0) { + this.hasExpectedValue = true + } + if (value === '') this.values = []; else if (JSON.stringify(value) !== JSON.stringify(publicValue)) { this.$nextTick(() => this.values = getInitialValue().map(getOptionData).filter(Boolean)); -- libgit2 0.21.4