fix RepositoryLog.vue load more
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<push-log-timeline :items="list" />
|
||||
<div class="bottom">
|
||||
<loading :showOn="isLoading" />
|
||||
<empty-tips :showOn="isFinished && !isLoading" />
|
||||
<empty-tips v-if="isFinished && !isLoading" />
|
||||
<t-button v-show="!isFinished && !isLoading" @click="doFetchEvent">加载更多</t-button>
|
||||
</div>
|
||||
</div>
|
||||
@ -40,5 +40,10 @@ onMounted(doFetchEvent);
|
||||
.repository-log {
|
||||
width: calc(100% - 4rem);
|
||||
padding: 1rem 2rem;
|
||||
|
||||
.bottom {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user