sud.setEnableDebug
JS
sud.setEnableDebug(Object object)参数
- Object object: 传入参数,具体的属性见下表
object 的属性说明:
| 属性 | 键值类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| enableDebug | boolean | 是 | 是否打开调试 | |
| success | function | 否 | 接口调用成功的回调函数 | |
| fail | function | 否 | 接口调用失败的回调函数 | |
| complete | function | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |