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
02c3553d
Commit
02c3553d
authored
Jun 09, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7cfc1f95
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
+19
-4
src/pages/drawer/creator.vue
src/pages/drawer/creator.vue
+1
-1
src/pages/matchTree.vue
src/pages/matchTree.vue
+15
-0
src/pages/tabulator.vue
src/pages/tabulator.vue
+3
-3
No files found.
src/pages/drawer/creator.vue
View file @
02c3553d
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
create
.
collaborators
=
[];
create
.
collaborators
=
[];
},
},
update
:
async
()
:
Promise
<
void
>
=>
{
update
:
async
()
:
Promise
<
void
>
=>
{
if
(
create
.
visibility
.
select
==
''
)
if
(
!
create
.
visibility
.
select
)
// @ts-ignore
// @ts-ignore
create
.
visibility
.
select
=
'
SingleElimination
'
;
create
.
visibility
.
select
=
'
SingleElimination
'
;
const
collaborators
=
create
.
collaborators
.
map
(
user
=>
user
.
id
);
const
collaborators
=
create
.
collaborators
.
map
(
user
=>
user
.
id
);
...
...
src/pages/matchTree.vue
View file @
02c3553d
...
@@ -76,6 +76,21 @@
...
@@ -76,6 +76,21 @@
}
}
});
});
});
});
matches
.
forEach
(
i
=>
{
if
(
!
i
.
player1
.
id
||
!
i
.
player1
.
id
)
{
const
parents
=
matches
.
filter
(
m
=>
m
.
next
==
i
.
id
).
sort
((
a
,
b
)
=>
a
.
id
-
b
.
id
);
if
(
parents
)
{
if
(
!
i
.
player1
.
id
&&
parents
.
length
>
0
)
{
i
.
player1
.
id
=
parents
[
0
].
player1
.
winner
?
parents
[
0
].
player1
.
id
:
parents
[
0
].
player2
.
winner
?
parents
[
0
].
player2
.
id
:
''
;
i
.
player1
.
name
=
parents
[
0
].
player1
.
winner
?
parents
[
0
].
player1
.
name
:
parents
[
0
].
player2
.
winner
?
parents
[
0
].
player2
.
name
:
''
;
}
if
(
!
i
.
player2
.
id
&&
parents
.
length
>
1
)
{
i
.
player2
.
id
=
parents
[
1
].
player1
.
winner
?
parents
[
1
].
player1
.
id
:
parents
[
1
].
player2
.
winner
?
parents
[
1
].
player2
.
id
:
''
;
i
.
player2
.
name
=
parents
[
1
].
player1
.
winner
?
parents
[
1
].
player1
.
name
:
parents
[
1
].
player2
.
winner
?
parents
[
1
].
player2
.
name
:
''
;
}
}
}
});
},
{
immediate
:
true
,
deep
:
true
});
},
{
immediate
:
true
,
deep
:
true
});
</
script
>
</
script
>
...
...
src/pages/tabulator.vue
View file @
02c3553d
...
@@ -343,7 +343,7 @@
...
@@ -343,7 +343,7 @@
tournament
.
collaborators
=
[];
tournament
.
collaborators
=
[];
},
},
update
:
()
:
void
=>
{
update
:
()
:
void
=>
{
if
(
tournament
.
visibility
.
select
==
''
)
if
(
!
tournament
.
visibility
.
select
)
// @ts-ignore
// @ts-ignore
tournament
.
visibility
.
select
=
tournament
.
this
.
visibility
;
tournament
.
visibility
.
select
=
tournament
.
this
.
visibility
;
...
@@ -471,11 +471,11 @@
...
@@ -471,11 +471,11 @@
});
});
watch
(()
=>
{
return
search
.
id
;
},
()
=>
{
watch
(()
=>
{
return
search
.
id
;
},
()
=>
{
search
.
info
.
id
=
search
.
id
==
''
?
0
:
parseInt
(
search
.
id
);
search
.
info
.
id
=
!
search
.
id
?
0
:
parseInt
(
search
.
id
);
});
});
watch
(()
=>
{
return
search
.
creator
;
},
()
=>
{
watch
(()
=>
{
return
search
.
creator
;
},
()
=>
{
search
.
info
.
creator
=
search
.
creator
==
''
?
0
:
parseInt
(
search
.
creator
);
search
.
info
.
creator
=
!
search
.
creator
?
0
:
parseInt
(
search
.
creator
);
});
});
</
script
>
</
script
>
...
...
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