Sign in
nx
/
creditNx
·
Commits
GitLab
Back to group
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
8e1e4cd8fea746a2313806d00e868087fb6120ed
Authored by
RuoYi
4 years ago
1 parent
9fa5c797
通用下载完成后删除节点
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-ui/src/utils/zipdownload.js
ruoyi-ui/src/utils/zipdownload.js
View file @
8e1e4cd
...
...
@@ -36,5 +36,5 @@ export function resolveBlob(res, mimeType) {
36
36
aLink.setAttribute('download', fileName) // 设置下载文件名称
37
37
document.body.appendChild(aLink)
38
38
aLink.click()
39
- document.body.
appendChild(aLink)
39
+ document.body.
removeChild(aLink);
40
40
}
...
...