Commit debe63b6 by wusiyi

feat: 修改tiff文件打开链接

parent a521ab74
......@@ -4015,7 +4015,9 @@ const downloadTif = async (type: string, templateWidth: number) => {
)
const url =
type === 'tiff'
? `https://ps.jomalls.com/tiff/` + res.message
? res.message?.startsWith('/temp')
? `https://factory.jomalls.com/upload/factory` + res.message
: `https://ps.jomalls.com/tiff/` + res.message
: filePath + res.message
if (type === 'tiff') {
window.open(url, '_blank')
......
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