Skip to content

Commit f5195f4

Browse files
committed
Fix the bug that custom spinner cannot be hide
1 parent 0a1823f commit f5195f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/InfiniteLoading.vue

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

0 commit comments

Comments
 (0)