# hideLoading ^6.8
关闭loading
# 调用方式
hideLoading(flag = 'default')
1
无直接返回值;不要对调用结果使用 then/catch。
# 请求参数
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| flag | String | N | 'default' | 与 showLoading 使用相同标志 |
# 接口调用示例
this.$bridge.showLoading({}, 'request-detail')
this.$bridge.hideLoading('request-detail')
1
2
2
# 返回参数
无直接返回值。
# 注意事项
默认标志按次数配对;其他标志直接移除。仍有活动标志时不会关闭 Loading。