fix: delete console.log
This commit is contained in:
parent
dc3d88e32e
commit
6f7f406e97
@ -253,7 +253,6 @@ export function useSurvey(
|
|||||||
false,
|
false,
|
||||||
true,
|
true,
|
||||||
)
|
)
|
||||||
console.log(resp)
|
|
||||||
const blob = await resp.blob()
|
const blob = await resp.blob()
|
||||||
|
|
||||||
if (!blob || blob.size === 0) {
|
if (!blob || blob.size === 0) {
|
||||||
@ -264,7 +263,7 @@ export function useSurvey(
|
|||||||
const url = window.URL.createObjectURL(blob)
|
const url = window.URL.createObjectURL(blob)
|
||||||
const a = document.createElement('a')
|
const a = document.createElement('a')
|
||||||
a.href = url
|
a.href = url
|
||||||
a.download = `${filename}.pdf`
|
a.download = `${filename}`
|
||||||
a.click()
|
a.click()
|
||||||
window.URL.revokeObjectURL(url)
|
window.URL.revokeObjectURL(url)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user