Commit c933afe3 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent d2d06227
......@@ -6,12 +6,12 @@ APP开发会出现很多功能相同的函数和组件,现封装了很多公
- 调用如下
```javascript
function checkIdCard(){
var result =hlsUtil.isCardID(342623198712122312);
if(result){
hlsPopup.showShortCenterToast(result);
}
function checkIdCard(){
var result =hlsUtil.isCardID(342623198712122312);
if(result){
hlsPopup.showShortCenterToast(result);
}
}
```
##### 2.时间格式化函数 `Date.prototype.format`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment