🐛 Fix bugs

This commit is contained in:
2025-03-20 00:02:05 +08:00
parent 6304305ff6
commit 4efa211e9e
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="my-2">
<div v-if="status == 'pending'">{{ t("loading") }}</div>
<post-item v-else class="no-margin-post" :post="post" :force-show-content="props.forceShowContent" />
<post-item v-if="status === 'success'" class="no-margin-post" :post="post" :force-show-content="props.forceShowContent" />
<div v-else>{{ t("loading") }}</div>
</div>
</template>