fix. 썸네일 모바일 미노출 수정
This commit is contained in:
@@ -9,23 +9,15 @@ export const useLoadingStore = defineStore('loadingStore', () => {
|
||||
const localLoadings = ref<Record<string, { active: boolean }>>({})
|
||||
const apiLoadingTimeoutId = ref<ReturnType<typeof setTimeout> | null>(null)
|
||||
|
||||
/**
|
||||
* 로딩 상태 초기화
|
||||
*/
|
||||
const initializeStore = () => {
|
||||
|
||||
localLoadings.value = {}
|
||||
hasApiCallStarted.value = false
|
||||
isPAssApiLoading.value = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Full 로딩
|
||||
*/
|
||||
const startFullLoading = () => {
|
||||
initializeStore()
|
||||
hasApiCallStarted.value = false
|
||||
isPAssApiLoading.value = false
|
||||
fullLoading.value = true
|
||||
}
|
||||
|
||||
const startApiLoading = () => {
|
||||
hasApiCallStarted.value = true
|
||||
isPAssApiLoading.value = false
|
||||
@@ -76,7 +68,6 @@ export const useLoadingStore = defineStore('loadingStore', () => {
|
||||
|
||||
startApiLoading,
|
||||
finishApiLoading,
|
||||
initializeStore,
|
||||
startFullLoading,
|
||||
stopFullLoading,
|
||||
startLocalLoading,
|
||||
|
||||
Reference in New Issue
Block a user