Commit 806e5ca1 by wuqian

ts修复

parent 32527e15
......@@ -423,7 +423,7 @@ const download = async () => {
// window.open(filePath + res.message)
const a = document.createElement('a')
a.href = filePath + res.message
a.download = res.message
a.download = res.message!
a.target = '_blank'
document.body.appendChild(a)
a.click()
......
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