Commit a8cd99ba authored by JingChao's avatar JingChao

Updates angular/hlsPopup.md

Auto commit by GitBook Editor
parent dd3147c2
...@@ -4,13 +4,13 @@ APP开发经常会安功能需求弹出各种提示框,此工具类封装了 ...@@ -4,13 +4,13 @@ APP开发经常会安功能需求弹出各种提示框,此工具类封装了
##### 一、 弹出等待框`showLoading` ##### 一、 弹出等待框`showLoading`
- 一般用于后台处理数据时调用(锁屏),此方法需要手动解屏。调用实例如下 - 一般用于后台处理数据时调用(锁屏),此方法需要手动解屏。调用实例如下
```javascript ```javascript
function showLoading(){ function showLoading(){
hlsPopup.showLoading('请等待'); hlsPopup.showLoading('请等待');
//TODO 其他业务逻辑执行 //TODO 其他业务逻辑执行
hlsPopup.hideLoading(); hlsPopup.hideLoading();
} }
``` ```
#### 二、长时间底部提示框 `showLongCenterToast` #### 二、长时间底部提示框 `showLongCenterToast`
- 一般用于提示用户字段合法性,或保存提交成功的提示等其他业务场景,代码试下如下 - 一般用于提示用户字段合法性,或保存提交成功的提示等其他业务场景,代码试下如下
......
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