Skip to content

Commit de45c12

Browse files
authored
Merge pull request #1620 from shentao/akki-jat/fix-select-event-model-value-delay
fix(select-event): model value delay
2 parents 9127a2d + d08fafc commit de45c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/multiselectMixin.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -533,14 +533,14 @@ export default {
533533
return
534534
}
535535

536-
this.$emit('select', option, this.id)
537-
538536
if (this.multiple) {
539537
this.$emit('input', this.internalValue.concat([option]), this.id)
540538
} else {
541539
this.$emit('input', option, this.id)
542540
}
543541

542+
this.$emit('select', option, this.id)
543+
544544
/* istanbul ignore else */
545545
if (this.clearOnSelect) this.search = ''
546546
}

0 commit comments

Comments
 (0)