Skip to content

错误事件

事件名称

onError

返回示例

js
onError(e) {
  console.log(e.detail)
}

回调说明

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