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
b04b48e6
Commit
b04b48e6
authored
Jul 13, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update creator.vue
parent
7a69f090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/pages/drawer/creator.vue
src/pages/drawer/creator.vue
+2
-3
No files found.
src/pages/drawer/creator.vue
View file @
b04b48e6
...
@@ -164,8 +164,7 @@
...
@@ -164,8 +164,7 @@
update
:
async
()
:
Promise
<
void
>
=>
{
update
:
async
()
:
Promise
<
void
>
=>
{
try
{
try
{
if
(
!
create
.
visibility
.
select
)
if
(
!
create
.
visibility
.
select
)
// @ts-ignore
create
.
visibility
.
select
=
'
Public
'
;
create
.
visibility
.
select
=
'
SingleElimination
'
;
if
(
create
.
import
.
chk
)
{
if
(
create
.
import
.
chk
)
{
if
(
!
create
.
import
.
id
||
create
.
import
.
id
<=
0
)
if
(
!
create
.
import
.
id
||
create
.
import
.
id
<=
0
)
throw
new
Error
(
'
请填写继承的比赛id
'
);
throw
new
Error
(
'
请填写继承的比赛id
'
);
...
@@ -175,7 +174,7 @@
...
@@ -175,7 +174,7 @@
if
(
n
>
0
&&
!
Number
.
isInteger
(
n
)
||
n
<=
0
)
if
(
n
>
0
&&
!
Number
.
isInteger
(
n
)
||
n
<=
0
)
throw
new
Error
(
'
出轮的人数必须是2的幂
'
);
throw
new
Error
(
'
出轮的人数必须是2的幂
'
);
}
}
if
(
create
.
visibility
.
select
=
'
Swiss
'
)
{
if
(
create
.
rule
.
select
=
=
'
Swiss
'
)
{
if
(
!
create
.
rule
.
settings
.
winScore
&&
create
.
rule
.
settings
.
winScore
==
undefined
)
if
(
!
create
.
rule
.
settings
.
winScore
&&
create
.
rule
.
settings
.
winScore
==
undefined
)
throw
new
Error
(
'
请填写胜利分
'
);
throw
new
Error
(
'
请填写胜利分
'
);
if
(
!
create
.
rule
.
settings
.
drawScore
&&
create
.
rule
.
settings
.
drawScore
==
undefined
)
if
(
!
create
.
rule
.
settings
.
drawScore
&&
create
.
rule
.
settings
.
drawScore
==
undefined
)
...
...
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