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
5473c1da
Commit
5473c1da
authored
Jun 21, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tournament.vue
parent
b83a082d
Pipeline
#37937
passed with stages
in 1 minute and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/pages/tournament.vue
src/pages/tournament.vue
+15
-0
No files found.
src/pages/tournament.vue
View file @
5473c1da
...
@@ -154,6 +154,14 @@
...
@@ -154,6 +154,14 @@
<
uni
-
icons
type
=
'
trash
'
color
=
'
red
'
><
/uni-icons
>
<
uni
-
icons
type
=
'
trash
'
color
=
'
red
'
><
/uni-icons
>
<
/view
>
<
/view
>
<
span
v
-
show
=
'
i.quit
'
class
=
'
small
'
>
已退赛
<
/span
>
<
span
v
-
show
=
'
i.quit
'
class
=
'
small
'
>
已退赛
<
/span
>
<
view
class
=
'
button
'
:
style
=
"
{ '--color' : 'gray'
}
"
@
click
=
'
tournament.operatorChk(participant.undo, [i])
'
v
-
show
=
'
i.quit
'
>
<
uni
-
icons
type
=
'
undo
'
><
/uni-icons
>
<
/view
>
<
/view
>
<
/view
>
<
/template
>
<
/template
>
<
/uni-list-item
>
<
/uni-list-item
>
...
@@ -575,6 +583,13 @@
...
@@ -575,6 +583,13 @@
if
(
tournament
.
this
.
status
==
'
Ready
'
?
await
del
()
:
await
update
())
if
(
tournament
.
this
.
status
==
'
Ready
'
?
await
del
()
:
await
update
())
await
tournament
.
search
();
await
tournament
.
search
();
}
,
}
,
undo
:
async
(
i
:
Participant
)
:
Promise
<
void
>
=>
{
if
(
await
Tabulator
.
Participant
.
Update
(
Mycard
.
token
,
i
.
id
,
{
name
:
i
.
name
,
quit
:
false
}
))
await
tournament
.
search
();
}
,
update
:
async
(
Data
:
TournamentCreateObject
)
:
Promise
<
void
>
=>
{
update
:
async
(
Data
:
TournamentCreateObject
)
:
Promise
<
void
>
=>
{
// @ts-ignore
// @ts-ignore
if
(
await
Tabulator
.
Tournament
.
Update
(
Mycard
.
token
,
tournament
.
this
.
id
,
Data
))
if
(
await
Tabulator
.
Tournament
.
Update
(
Mycard
.
token
,
tournament
.
this
.
id
,
Data
))
...
...
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