环境:
前端代码
<Select multiple v-on:change="handleSelectXzqh">
<Option v-for="(item,index) in xzqhList" :value="item.value" :key="index">
{{item.label}}
</Option>
</Select>
问题:
Element 下拉框支持多选时,v-on:change 无效。
解决:
<Select multiple @input="handleSelectXzqh">
<Option v-for="(item,index) in xzqhList" :value="item.value" :key="index">
{{item.label}}
</Option>
</Select>