Commit 6855c54a by linjinhong

fix:修改问题

parent 7c9aed85
......@@ -4959,7 +4959,7 @@ const downloadMaterial = async () => {
try {
const res = await downloadMaterialApi(selectedIds)
if (res.code !== 200) return
window.open(filePath + res.message)
// window.open(filePath + res.message)
const a = document.createElement('a')
a.href = filePath + res.message
a.download = res.message!
......
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