console 삭제

This commit is contained in:
yoon 2025-03-07 14:08:26 +09:00
parent 144738028d
commit b08e72b813

View File

@ -6,14 +6,12 @@ export const useLoadingStore = defineStore("loading", () => {
const startLoading = () => {
loadingCount.value++;
console.log(loadingCount.value)
};
const stopLoading = () => {
if (loadingCount.value > 0) {
setTimeout(() => {
loadingCount.value--;
console.log("Stop Loading: ", loadingCount.value);
}, 200); // 약간의 지연을 추가하여 응답이 동시에 도착해도 안정적으로 감소
}
};