공개 페이지 전환 경고 정리
This commit is contained in:
@@ -16,10 +16,7 @@ const { data: post } = await useFetch(() => `/api/posts/${slug.value}`)
|
||||
const { data: tags } = useLazyFetch('/api/tags?tagType=all', {
|
||||
default: () => []
|
||||
})
|
||||
const { data: siteSettings } = useLazyFetch('/api/site-settings', {
|
||||
key: 'site-settings-public',
|
||||
default: () => ({})
|
||||
})
|
||||
const { data: siteSettings } = await usePublicSiteSettings()
|
||||
const postToc = useState('post-detail-toc', () => [])
|
||||
|
||||
if (!post.value) {
|
||||
|
||||
Reference in New Issue
Block a user