From 693fb7dc70b8dd5d23d21c5e35322abefa3d4134 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 23 Aug 2023 22:11:51 +0900 Subject: [PATCH] isLoading -> is_loading --- src/views/Content/ContentList.vue | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue index ed9cf2d..2fae65f 100644 --- a/src/views/Content/ContentList.vue +++ b/src/views/Content/ContentList.vue @@ -463,6 +463,16 @@ + + + + @@ -622,7 +632,7 @@ export default { if (this.is_loading) return; - this.isLoading = true + this.is_loading = true try { const formData = new FormData() @@ -642,6 +652,7 @@ export default { const res = await api.createAudioContent(formData) if (res.status === 200 && res.data.success === true) { + this.is_loading = false this.cancel() this.notifySuccess("등록한 콘텐츠가 업로드 중입니다.\n" + "콘텐츠 등록이 완료되면 알림을 보내드립니다.\n" + @@ -680,7 +691,7 @@ export default { if (this.is_loading) return; - this.isLoading = true + this.is_loading = true try { const formData = new FormData()