mirror of
https://github.com/PaiGramTeam/luoxu-api-pub.git
synced 2024-11-22 15:37:25 +00:00
move error message into info div
This commit is contained in:
parent
3e482cb777
commit
72eb7f2f28
@ -141,13 +141,11 @@
|
|||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{#if error}
|
|
||||||
<div class="error">{error}</div>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
{#if loading}
|
{#if loading}
|
||||||
<p>正在加载...</p>
|
<p>正在加载...</p>
|
||||||
|
{:else if error}
|
||||||
|
<p class="error">{error}</p>
|
||||||
{:else if result && result.messages.length == 0}
|
{:else if result && result.messages.length == 0}
|
||||||
<p>没有匹配的消息。</p>
|
<p>没有匹配的消息。</p>
|
||||||
{:else if result && result.has_more}
|
{:else if result && result.has_more}
|
||||||
|
Loading…
Reference in New Issue
Block a user