fix(theme): 博客页无用户信息时过渡动效

This commit is contained in:
pengzhanbo 2024-03-21 00:09:17 +08:00
parent d2bcc3fd07
commit 34106ec709

View File

@ -17,8 +17,8 @@ const page = usePageData<PlumeThemePageData>()
<template>
<div class="blog-wrapper">
<div class="blog-container" :class="{ 'no-avatar': !theme.avatar }">
<BlogNav v-if="!theme.avatar" is-local />
<TransitionFadeSlideY>
<BlogNav v-if="!theme.avatar" is-local />
<PostList v-if="page.type === 'blog'" />
<Tags v-if="page.type === 'blog-tags'" />
<Archives v-if="page.type === 'blog-archives'" />