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
2b365d32
Commit
2b365d32
authored
Jun 27, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
fix: 批量下载bug修复 See merge request
!52
parents
3d4c5feb
306c9c3e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/views/order/podUs/index.vue
+3
-4
No files found.
src/views/order/podUs/index.vue
View file @
2b365d32
...
@@ -1910,15 +1910,14 @@ const handleDownload = async (row: PodUsOrderListData) => {
...
@@ -1910,15 +1910,14 @@ const handleDownload = async (row: PodUsOrderListData) => {
try
{
try
{
const
res
=
await
batchDownloadDownloadApi
({
id
:
row
.
id
}
)
const
res
=
await
batchDownloadDownloadApi
({
id
:
row
.
id
}
)
if
(
res
.
code
!==
200
||
!
res
.
message
)
return
if
(
res
.
code
!==
200
||
!
res
.
message
)
return
const
url
=
filePath
+
res
.
message
fetch
(
res
.
message
)
fetch
(
url
)
.
then
((
res
)
=>
res
.
blob
())
.
then
((
res
)
=>
res
.
blob
())
.
then
((
blob
)
=>
{
.
then
((
blob
)
=>
{
const
link
=
document
.
createElement
(
'a'
)
const
link
=
document
.
createElement
(
'a'
)
link
.
href
=
URL
.
createObjectURL
(
blob
)
link
.
href
=
URL
.
createObjectURL
(
blob
)
link
.
download
=
res
.
message
link
.
download
=
url
?
url
.
split
(
'/'
).
pop
()
||
'download'
:
'download'
?
res
.
message
.
split
(
'/'
).
pop
()
||
'download'
:
'download'
link
.
click
()
link
.
click
()
}
)
}
)
ElMessage
.
success
(
'操作成功'
)
ElMessage
.
success
(
'操作成功'
)
...
...
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