fix message order

This commit is contained in:
lilydjwg 2021-10-06 23:26:20 +08:00
parent 0858561edd
commit 3e482cb777

View File

@ -148,12 +148,12 @@
<div class="info">
{#if loading}
<p>正在加载...</p>
{:else if result && result.messages.length == 0}
<p>没有匹配的消息。</p>
{:else if result && result.has_more}
<button on:click={do_search_more}>加载更多</button>
{:else if result && !result.has_more}
<p>到底了。</p>
{:else if result && result.messages.length == 0}
<p>没有匹配的消息。</p>
{/if}
</div>
</main>