Skip to content

Commit ea7b569

Browse files
author
Pooya Parsa
committed
fix(progress): finish on fail
1 parent 7345f8d commit ea7b569

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/plugin.template.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const setupProgress = (axios, ctx) => {
119119
axios.onError(() => {
120120
currentRequests--
121121
$loading().fail()
122+
$loading().finish()
122123
})
123124

124125
const onProgress = e => {

0 commit comments

Comments
 (0)