Skip to content

Commit c0cc254

Browse files
authored
1 parent 6c5b19f commit c0cc254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vue-simple-suggest.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ export default {
390390
})
391391
},
392392
select(item) {
393-
if (this.selected !== item || (this.nullableSelect && !item)) {
393+
if ((item && this.selected !== item) || (this.nullableSelect && !item)) {
394394
this.selected = item
395395
this.$emit('update:modelSelect', item)
396396
// For backward compatibility:

0 commit comments

Comments
 (0)