Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
oEshield
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cb69b739
authored
Apr 15, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.6.0版本需求
1 parent
b5b58d86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/pages/monitor/addFence.vue
src/pages/monitor/addFence.vue
View file @
cb69b73
...
@@ -153,7 +153,8 @@ export default {
...
@@ -153,7 +153,8 @@ export default {
cb
();
cb
();
};
};
let
checkMsgtel
=
(
rule
,
vaule
,
cb
)
=>
{
let
checkMsgtel
=
(
rule
,
vaule
,
cb
)
=>
{
if
(
this
.
form
.
msgtel
&&
!
/^1
\d{10}(\,
1
\d{10})?
$/
.
test
(
this
.
form
.
msgtel
))
{
let
reg
=
/^1
\d{10}((\,
1
\d{10})
|
(\,
1
\d{10}))?
$/
if
(
this
.
form
.
telNumbers
&&
!
reg
.
test
(
this
.
form
.
telNumbers
))
{
cb
(
new
Error
(
"请输入正确的格式"
));
cb
(
new
Error
(
"请输入正确的格式"
));
}
else
{
}
else
{
cb
();
cb
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment