Select: Improve Robustness, fix #13049 (#13245)

pull/13238/head
Amumu 2018-10-31 15:59:35 +08:00 committed by hetech
parent c1083c25c0
commit 74fb8ac225
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@
showClose() { showClose() {
let hasValue = this.multiple let hasValue = this.multiple
? this.value.length > 0 ? Array.isArray(this.value) && this.value.length > 0
: this.value !== undefined && this.value !== null && this.value !== ''; : this.value !== undefined && this.value !== null && this.value !== '';
let criteria = this.clearable && let criteria = this.clearable &&
!this.selectDisabled && !this.selectDisabled &&