Commit 1859a8d1 by wusiyi

fix: tif路径修改

parent b366404d
...@@ -1921,7 +1921,10 @@ const handleDownload = async (row: PodUsOrderListData, type: string) => { ...@@ -1921,7 +1921,10 @@ const handleDownload = async (row: PodUsOrderListData, type: string) => {
background: 'rgba(0, 0, 0, 0.3)', background: 'rgba(0, 0, 0, 0.3)',
}) })
try { try {
const url = filePath + (type === 'png' ? row.url : row.tiffUrl) const url =
type === 'png'
? filePath + row.url
: `https://ps.jomalls.com/tiff/` + row.tiffUrl
fetch(url) fetch(url)
.then((res) => res.blob()) .then((res) => res.blob())
......
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