Skip to content

类型: ShowLoadingOptions<> ​

属性 ​

complete ​

• complete: undefined | (result: any) => void

接口调用结束的回调函数(调用成功、失败都会执行)。


fail ​

• fail: undefined | (result: any) => void

接口调用失败的回调函数。


mask ​

• mask: undefined | boolean

是否显示透明蒙层,防止触摸穿透,默认:false。


success ​

• success: undefined | (result: any) => void

接口调用成功的回调函数。


title ​

• title: undefined | string

提示的内容。