isLoading -> is_loading

This commit is contained in:
Yu Sung 2023-08-23 22:11:51 +09:00
parent 848f736b8f
commit 693fb7dc70
1 changed files with 13 additions and 2 deletions

View File

@ -463,6 +463,16 @@
</v-card-actions>
</v-card>
</v-dialog>
<v-dialog
v-model="is_loading"
max-width="400px"
persistent
>
<v-progress-circular
indeterminate
/>
</v-dialog>
</div>
</template>
@ -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()