isLoading -> is_loading
This commit is contained in:
parent
848f736b8f
commit
693fb7dc70
|
@ -463,6 +463,16 @@
|
||||||
</v-card-actions>
|
</v-card-actions>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
|
|
||||||
|
<v-dialog
|
||||||
|
v-model="is_loading"
|
||||||
|
max-width="400px"
|
||||||
|
persistent
|
||||||
|
>
|
||||||
|
<v-progress-circular
|
||||||
|
indeterminate
|
||||||
|
/>
|
||||||
|
</v-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -622,7 +632,7 @@ export default {
|
||||||
|
|
||||||
if (this.is_loading) return;
|
if (this.is_loading) return;
|
||||||
|
|
||||||
this.isLoading = true
|
this.is_loading = true
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
|
@ -642,6 +652,7 @@ export default {
|
||||||
|
|
||||||
const res = await api.createAudioContent(formData)
|
const res = await api.createAudioContent(formData)
|
||||||
if (res.status === 200 && res.data.success === true) {
|
if (res.status === 200 && res.data.success === true) {
|
||||||
|
this.is_loading = false
|
||||||
this.cancel()
|
this.cancel()
|
||||||
this.notifySuccess("등록한 콘텐츠가 업로드 중입니다.\n" +
|
this.notifySuccess("등록한 콘텐츠가 업로드 중입니다.\n" +
|
||||||
"콘텐츠 등록이 완료되면 알림을 보내드립니다.\n" +
|
"콘텐츠 등록이 완료되면 알림을 보내드립니다.\n" +
|
||||||
|
@ -680,7 +691,7 @@ export default {
|
||||||
|
|
||||||
if (this.is_loading) return;
|
if (this.is_loading) return;
|
||||||
|
|
||||||
this.isLoading = true
|
this.is_loading = true
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const formData = new FormData()
|
const formData = new FormData()
|
||||||
|
|
Loading…
Reference in New Issue