Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
T
tabulator-another-web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
tabulator-another-web
Commits
7635ef2c
Commit
7635ef2c
authored
Nov 09, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tournament.vue
parent
18a1ecb3
Pipeline
#41550
passed with stages
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
src/pages/tournament.vue
src/pages/tournament.vue
+7
-5
No files found.
src/pages/tournament.vue
View file @
7635ef2c
...
@@ -535,11 +535,13 @@
...
@@ -535,11 +535,13 @@
tournament
.
decks_loading
=
true
;
tournament
.
decks_loading
=
true
;
try
{
try
{
const
zip
=
new
JSZip
();
const
zip
=
new
JSZip
();
for
(
const
i
of
participant
.
array
)
{
let
copyValue
=
participant
.
copyValue
;
if
(
!
i
.
deck
)
continue
;
if
(
copyValue
==
0
)
copyValue
=
participant
.
array
.
length
;
console
.
log
(
i
.
deck
.
toYdkString
())
for
(
let
i
=
0
;
i
<
copyValue
;
i
++
)
{
const
blob
=
new
Blob
([
i
.
deck
.
toYdkString
()],
{
type
:
'
text/plain;charset=utf-8
'
}
);
const
p
=
participant
.
array
[
i
];
zip
.
file
(
`${i.qq ? i.qq.toString() + '-' : ''
}
${i.name
}
.ydk`
,
blob
);
if
(
!
p
.
deck
)
continue
;
const
blob
=
new
Blob
([
p
.
deck
.
toYdkString
()],
{
type
:
'
text/plain;charset=utf-8
'
}
);
zip
.
file
(
`${p.qq ? p.qq.toString() + '-' : ''
}
${p.name
}
.ydk`
,
blob
);
}
}
const
content
=
await
zip
.
generateAsync
({
const
content
=
await
zip
.
generateAsync
({
type
:
"
blob
"
,
type
:
"
blob
"
,
...
...
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