Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
bc74d894
Commit
bc74d894
authored
Sep 11, 2025
by
daniel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(index): 比赛助手默认样式为空的处理
parent
2ec8939b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.js
src/main/webapp/static/js/index.js
+2
-2
No files found.
src/main/webapp/static/js/index.js
View file @
bc74d894
...
@@ -30,7 +30,7 @@ $(function () {
...
@@ -30,7 +30,7 @@ $(function () {
$
(
'.savebtn'
).
click
(
function
()
{
$
(
'.savebtn'
).
click
(
function
()
{
let
bg
=
$
(
'#cmptBgColorInput'
).
val
();
let
bg
=
$
(
'#cmptBgColorInput'
).
val
();
let
logo
=
$
(
'#hdcmptLogo'
).
val
();
let
logo
=
$
(
'#hdcmptLogo'
).
val
();
let
detailStyle
=
$
(
'#detailStyle'
).
val
();
let
detailStyle
=
$
(
'#detailStyle'
).
val
()
?.
trim
()
;
let
isShowTab
=
$
(
'#isShowInput'
).
val
();
let
isShowTab
=
$
(
'#isShowInput'
).
val
();
let
cmptId
=
getCId
();
let
cmptId
=
getCId
();
if
(
bg
.
length
!=
6
)
{
if
(
bg
.
length
!=
6
)
{
...
@@ -38,7 +38,7 @@ $(function () {
...
@@ -38,7 +38,7 @@ $(function () {
return
;
return
;
}
}
const
param
=
{
const
param
=
{
detailStyle
:
detailStyle
??
'1'
,
detailStyle
:
detailStyle
==
null
||
detailStyle
.
length
===
0
?
'1'
:
detailStyle
,
cmptId
,
cmptId
,
logo
,
logo
,
cmptbgColor
:
"#"
+
bg
,
cmptbgColor
:
"#"
+
bg
,
...
...
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