fix(select): fix the bug about clicking the select component (#513)

fix the bug about clicking the select component

fix #496
This commit is contained in:
SMJ 2020-11-02 17:03:09 +08:00 committed by GitHub
parent 39cf4fc8c1
commit 2d2ed23cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
<template>
<div
ref="selectWrapper"
v-clickOutside="handleClose"
class="el-select"
:class="[selectSize ? 'el-select--' + selectSize : '']"
@click.stop="toggleMenu"
@ -139,7 +140,6 @@
<el-select-menu
v-show="visible && emptyText !== false"
ref="popper"
v-clickOutside="handleClose"
>
<el-scrollbar
v-show="options.length > 0 && !loading"