hideLoading 1.0.0+

隐藏 loading 提示框。

提示

loading 的实现基于 toast,所以hideLoading也会将 toast 隐藏

输入

无输入

输出

各callback参数均无额外属性

代码示例

  1. tt.hideLoading({
  2. success (res) {
  3. console.log(`${res}`);
  4. },
  5. fail (res) {
  6. console.log(`hideLoading调用失败`);
  7. }
  8. });

原文: https://developer.toutiao.com/docs/api/hideLoading.html