🐛 Fix bugs
This commit is contained in:
		| @@ -76,6 +76,6 @@ const config = useRuntimeConfig() | ||||
| const { t } = useI18n() | ||||
|  | ||||
| const url = computed(() => | ||||
|   props.post.alias ? `/posts/${props.post.area_alias}/${props.post.alias}` : `/posts/${props.post.id}`, | ||||
|   props.post?.alias ? `/posts/${props.post?.alias_prefix}/${props.post?.alias}` : `/posts/${props.post?.id}`, | ||||
| ) | ||||
| </script> | ||||
|   | ||||
| @@ -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> | ||||
|  | ||||
|   | ||||
| @@ -22,6 +22,6 @@ downloads: | ||||
| AceField which is stands for wonderful place to battle. | ||||
| We can't just use the name Battlefield because it already became a trademark of Electronic Arts. | ||||
|  | ||||
| :embed-download-link{:items='downloads'} | ||||
| :embed-download-link{items='downloads'} | ||||
|  | ||||
| :embed-post-item{id=914} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user