perf[DragSelect]: add $listeners

This commit is contained in:
Pan 2018-11-08 17:30:17 +08:00
parent a0862ca547
commit 4a7b50ed46

View file

@ -1,5 +1,5 @@
<template>
<el-select ref="dragSelect" v-model="selectVal" v-bind="$attrs" class="drag-select" multiple>
<el-select ref="dragSelect" v-model="selectVal" v-bind="$attrs" class="drag-select" multiple v-on="$listeners">
<slot/>
</el-select>
</template>