공개 페이지 전환 경고 정리
This commit is contained in:
@@ -11,16 +11,7 @@ import {
|
||||
/** @type {number} 슬라이드 애니메이션 시간(ms) */
|
||||
const SLIDE_MS = 320
|
||||
|
||||
const { data: siteSettings } = await useFetch('/api/site-settings', {
|
||||
default: () => ({
|
||||
announcementEnabled: false,
|
||||
announcementText: '',
|
||||
announcementUrl: '',
|
||||
announcementBackgroundColor: '#15171a',
|
||||
announcementAlignment: 'center',
|
||||
updatedAt: null
|
||||
})
|
||||
})
|
||||
const { data: siteSettings } = await usePublicSiteSettings()
|
||||
|
||||
/** DOM에 바를 둘지(애니메이션 종료 전까지 유지) */
|
||||
const inDom = ref(false)
|
||||
|
||||
Reference in New Issue
Block a user