Skip to content

错误事件

类型名称

onError

回调示例

json
{
  "data": {},
  "message": "未申请权限",
  "code": -1
}

回调说明

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
codeInteger返回类型,0.成功,其他:失败