fix RepositoryLog.vue load more

This commit is contained in:
Timi
2025-07-22 00:41:00 +08:00
parent 4d723758df
commit 5df064e80a

View File

@ -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>