1、跳转需要用setTimeOut 写入到 showToast 的成功回调中 2、hideloading()会将 Toast 同步关闭需要在请求的hideloading 中加入 noConflict 配置为true
功能描述
隐藏 loading 提示框
参数
Object object
| 属性 | 类型 | 默认值 | 必填 | 说明 | 最低版本 |
|---|---|---|---|---|---|
| noConflict | boolean | false | 否 | 目前 toast 和 loading 相关接口可以相互混用,此参数可用于取消混用特性 | |
| success | function | 否 | 接口调用成功的回调函数 | ||
| fail | function | 否 | 接口调用失败的回调函数 | ||
| complete | function | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |