uni.showLoading(OBJECT)

显示 loading 提示框, 需主动调用uni.hideLoading才能关闭提示框

OBJECT参数说明:

参数 类型 必填 说明 平台支持
title String 提示的内容 all?
mask Boolean 是否显示透明蒙层,防止触摸穿透,默认:false all?
success Function 接口调用成功的回调函数 all?
fail Function 接口调用失败的回调函数 all?
complete Function 接口调用结束的回调函数(调用成功、失败都会执行) all?
uni.showLoading({
    title:'loading'
})

results matching ""

    No results matching ""