Commit 707898f2ad9fd2ae2ae56d89a06ab83ac4c69b62

Authored by 梁灏
1 parent 18cffe18

fix #5514 close #5570

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/cascader/cascader.vue
... ... @@ -47,7 +47,7 @@
47 47 @click="handleSelectItem(index)" v-html="item.display"></li>
48 48 </ul>
49 49 </div>
50   - <ul v-show="filterable && query !== '' && !querySelections.length" :class="[prefixCls + '-not-found-tip']"><li>{{ localeNotFoundText }}</li></ul>
  50 + <ul v-show="(filterable && query !== '' && !querySelections.length) || !data.length" :class="[prefixCls + '-not-found-tip']"><li>{{ localeNotFoundText }}</li></ul>
51 51 </div>
52 52 </Drop>
53 53 </transition>
... ...