Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
640e6d02
Commit
640e6d02
authored
Mar 10, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 多个文件循环下载问题修改
parent
9b2ae5c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/views/order/pod/index.vue
+7
-1
No files found.
src/views/order/pod/index.vue
View file @
640e6d02
...
...
@@ -1441,7 +1441,13 @@ const downloadMaterial = async () => {
const
res
=
await
downloadMaterialApi
(
ids
)
const
{
data
}
=
res
data
.
forEach
((
item
:
string
)
=>
{
window
.
open
(
filePath
+
item
)
const
a
=
document
.
createElement
(
'a'
)
a
.
href
=
filePath
+
item
a
.
download
=
item
a
.
target
=
'_blank'
document
.
body
.
appendChild
(
a
)
a
.
click
()
document
.
body
.
removeChild
(
a
)
}
)
}
catch
(
e
)
{
// showError(e)
...
...
Write
Preview
Markdown
is supported
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