Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
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
hel-guide
app
Commits
f06de6f7
Commit
f06de6f7
authored
Sep 08, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates angular/hlsUtil.md
Auto commit by GitBook Editor
parent
55fd0006
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hlsUtil.md
angular/hlsUtil.md
+1
-1
No files found.
angular/hlsUtil.md
View file @
f06de6f7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
APP开发会出现很多功能相同的函数和组件,现封装了很多公共函数可直接调用减少开发时间,提高开发效率。需在
`controller`
中注入
`hlsUtil`
服务。
APP开发会出现很多功能相同的函数和组件,现封装了很多公共函数可直接调用减少开发时间,提高开发效率。需在
`controller`
中注入
`hlsUtil`
服务。
##### 1.校验身份证号 `isCardID`函数
##### 1.校验身份证号 `isCardID`函数
-
函数参数为
`( 身份证号码 )`
。
-
函数参数为
`( 身份证号码 )`
。
-
返回值为
身份证校验结果
,通过返回空,不通过返回具体内容。
-
返回值为
`( 身份证校验结果 )`
,通过返回空,不通过返回具体内容。
-
调用如下
-
调用如下
```
javascript
```
javascript
function
checkIdCard
(){
function
checkIdCard
(){
...
...
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