Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
8e1e4cd8
Commit
8e1e4cd8
authored
Apr 08, 2021
by
RuoYi
Browse files
通用下载完成后删除节点
parent
9fa5c797
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/utils/zipdownload.js
View file @
8e1e4cd8
...
...
@@ -36,5 +36,5 @@ export function resolveBlob(res, mimeType) {
aLink
.
setAttribute
(
'
download
'
,
fileName
)
// 设置下载文件名称
document
.
body
.
appendChild
(
aLink
)
aLink
.
click
()
document
.
body
.
append
Child
(
aLink
)
document
.
body
.
remove
Child
(
aLink
)
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment