Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
witiumCloud2
Project
Project
Details
Activity
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
WitCloud
witiumCloud2
Commits
2291f84b
Commit
2291f84b
authored
Aug 18, 2023
by
乔玉婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主题配置模板通道:通道描述不能超过60个字符check
parent
74402c7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
check.ts
src/app/service/check.ts
+7
-1
No files found.
src/app/service/check.ts
View file @
2291f84b
...
@@ -83,7 +83,13 @@ export class CheckService {
...
@@ -83,7 +83,13 @@ export class CheckService {
this
.
flag
=
1
;
this
.
flag
=
1
;
return
false
;
return
false
;
}
else
{
}
else
{
return
true
;
if
(
field
==
"description"
&&
data
.
description
.
length
>
60
)
{
this
.
message
.
warning
(
this
.
translate
.
instant
(
this
.
trans
[
field
])
+
'不能超过60个字符!'
);
this
.
flag
=
1
;
return
false
}
else
{
return
true
;
}
}
}
}
}
...
...
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