Skip to content

Commit 9ddabfb

Browse files
committed
Fix the bug that cannot display no-results and no-more prompt
1 parent 7027893 commit 9ddabfb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/InfiniteLoading.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<template>
2-
<div class="infinite-loading-container" v-show="isLoading">
3-
<slot name="spinner">
4-
<i :class="spinnerType"></i>
5-
</slot>
2+
<div class="infinite-loading-container">
3+
<div v-show="isLoading">
4+
<slot name="spinner">
5+
<i :class="spinnerType"></i>
6+
</slot>
7+
</div>
68
<div class="infinite-status-prompt" v-show="!isLoading && isComplete && isFirstLoad">
79
<slot name="no-results">No results :(</slot>
810
</div>

0 commit comments

Comments
 (0)