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