fix. 메인 로딩 안나오는 현상 수정

This commit is contained in:
clkim
2025-11-13 17:58:27 +09:00
parent 43e32a9268
commit 4048341638
2 changed files with 3 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ export default defineNuxtRouteMiddleware(async (to, _from) => {
return navigateTo(`/${langCode}/brand`, { external: false })
}
// 페이지 이동 시 로딩 시작
// 페이지 이동 시 로딩 상태 시작
loadingStore.startFullLoading()
const accessToken = csrGetAccessToken()

View File

@@ -21,7 +21,7 @@ export const useLoadingStore = defineStore('loadingStore', () => {
* Full 로딩
*/
const startFullLoading = () => {
startApiLoading()
initializeStore()
fullLoading.value = true
}
const startApiLoading = () => {
@@ -36,6 +36,7 @@ export const useLoadingStore = defineStore('loadingStore', () => {
}
const finishApiLoading = () => {
setTimeout(() => {
hasApiCallStarted.value = false
isPAssApiLoading.value = true
}, 300)
}