Commit 5456fcc1 by zhuzhequan

tiff 按钮加载bug修复

parent 1a975d13
......@@ -2199,16 +2199,16 @@ const downloadTif = async (type: string, dir: string) => {
)
window.open(`https://ps.jomalls.com/${dir}/` + res.message, '_blank')
if (type === 'tiff') {
tifDownloadLoading.value = true
tifDownloadLoading.value = false
} else {
pngDownloadLoading.value = true
pngDownloadLoading.value = false
}
} catch (e) {
console.log(e)
if (type === 'tiff') {
tifDownloadLoading.value = true
tifDownloadLoading.value = false
} else {
pngDownloadLoading.value = true
pngDownloadLoading.value = false
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment