fix(progress): finish on fail

master
Pooya Parsa 2018-02-04 21:10:39 +03:30
parent 7345f8d6fe
commit ea7b569d30
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ const setupProgress = (axios, ctx) => {
axios.onError(() => {
currentRequests--
$loading().fail()
$loading().finish()
})
const onProgress = e => {