diff --git a/packages/cascader/src/cascader.vue b/packages/cascader/src/cascader.vue index 0aad54baf1e..718af939a25 100644 --- a/packages/cascader/src/cascader.vue +++ b/packages/cascader/src/cascader.vue @@ -4,14 +4,14 @@ :class="[ 'el-cascader', realSize && `el-cascader--${realSize}`, - { 'is-disabled': isDisabled } + { 'is-disabled': isDisabled }, ]" v-clickoutside="() => toggleDropDownVisible(false)" @mouseenter="inputHover = true" @mouseleave="inputHover = false" @click="() => toggleDropDownVisible(readonly ? undefined : true)" - @keydown="handleKeyDown"> - + @keydown="handleKeyDown" + > + @input="handleInput" + > @@ -51,7 +54,8 @@ :hit="tag.hitState" :closable="tag.closable" disable-transitions - @close="deleteTag(tag)"> + @close="deleteTag(tag)" + > {{ tag.text }} + @keydown.delete="handleDelete" + />
+ :class="['el-popper', 'el-cascader__dropdown', popperClass]" + > + @close="toggleDropDownVisible(false)" + > + @keydown.native="handleSuggestionKeyDown" + > -
  • {{ t('el.cascader.noMatch') }}
  • +
  • + {{ t("el.cascader.noMatch") }} +
  • @@ -112,69 +123,72 @@ -