try to catch download.next
This commit is contained in:
parent
405e65e9ee
commit
0fd57fdff7
1 changed files with 16 additions and 5 deletions
|
@ -1568,9 +1568,13 @@ const app = new Vue({
|
||||||
processChunk(response)
|
processChunk(response)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
if (downloaded.next != null && typeof downloaded.next === "function") {
|
||||||
downloaded.next("", params, {includeResponseMeta: !0}).then((response) => {
|
downloaded.next("", params, {includeResponseMeta: !0}).then((response) => {
|
||||||
processChunk(response)
|
processChunk(response)
|
||||||
})
|
}) } else {
|
||||||
|
console.log("Download next", downloaded.next)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1644,9 +1648,12 @@ const app = new Vue({
|
||||||
processChunk(response)
|
processChunk(response)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
if (downloaded.next != null && typeof downloaded.next === "function") {
|
||||||
downloaded.next("", params, {includeResponseMeta: !0}).then((response) => {
|
downloaded.next("", params, {includeResponseMeta: !0}).then((response) => {
|
||||||
processChunk(response)
|
processChunk(response)
|
||||||
})
|
}) } else {
|
||||||
|
console.log("Download next", downloaded.next)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1721,9 +1728,13 @@ const app = new Vue({
|
||||||
processChunk(response)
|
processChunk(response)
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
downloaded.next("", "artists", {includeResponseMeta: !0}).then((response) => {
|
if (downloaded.next != null && typeof downloaded.next === "function") {
|
||||||
processChunk(response)
|
downloaded.next("", "artists", {includeResponseMeta: !0}).then((response) => {
|
||||||
})
|
processChunk(response)
|
||||||
|
}) } else {
|
||||||
|
console.log("Download next", downloaded.next)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue