Commit 707898f2ad9fd2ae2ae56d89a06ab83ac4c69b62
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,7 +47,7 @@ | ||
47 | @click="handleSelectItem(index)" v-html="item.display"></li> | 47 | @click="handleSelectItem(index)" v-html="item.display"></li> |
48 | </ul> | 48 | </ul> |
49 | </div> | 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 | </div> | 51 | </div> |
52 | </Drop> | 52 | </Drop> |
53 | </transition> | 53 | </transition> |