mirror of https://github.com/sundowndev/http.git
fix(progress): finish on fail
parent
7345f8d6fe
commit
ea7b569d30
|
@ -119,6 +119,7 @@ const setupProgress = (axios, ctx) => {
|
|||
axios.onError(() => {
|
||||
currentRequests--
|
||||
$loading().fail()
|
||||
$loading().finish()
|
||||
})
|
||||
|
||||
const onProgress = e => {
|
||||
|
|
Loading…
Reference in New Issue