Archived
2
0

remove unused property.

This commit is contained in:
Miroslav Šedivý 2022-11-19 16:57:00 +01:00
parent 3703d2b73d
commit 950cb118cc
2 changed files with 1 additions and 4 deletions

View File

@ -285,11 +285,10 @@
size: item.size, size: item.size,
progress: 0, progress: 0,
status: 'pending', status: 'pending',
axios: null,
abortController: abortController, abortController: abortController,
} }
transfer.axios = this.$http this.$http
.get(url, { .get(url, {
responseType: 'blob', responseType: 'blob',
signal: abortController.signal, signal: abortController.signal,
@ -342,7 +341,6 @@
size: file.size, size: file.size,
progress: 0, progress: 0,
status: 'pending', status: 'pending',
axios: null,
abortController: abortController, abortController: abortController,
} }

View File

@ -36,6 +36,5 @@ export interface FileTransfer {
size: number size: number
progress: number progress: number
status: 'pending' | 'inprogress' | 'completed' status: 'pending' | 'inprogress' | 'completed'
axios: Promise<void> | null
abortController: AbortController | null abortController: AbortController | null
} }