mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
remove unused property.
This commit is contained in:
parent
3703d2b73d
commit
950cb118cc
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user