wx.setEnableDebug(object);设置是否打开调试开关 示例代码:
// 打开调试 wx.setEnableDebug({ enableDebug: true //(必填)是否打开调试 success: function(){//接口调用成功的回调函数 errMsg;//调用结果 }, fail: function(){//接口调用失败的回调函数 }, complete: function(){//接口调用结束的回调函数(调用成功、失败都会执行) } }) // 关闭调试 wx.setEnableDebug({ enableDebug: false })
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
QQ咨询|关于我们|Archiver|手机版|小黑屋|( 辽ICP备15012455号-4 ) Powered by 期权论坛 X3.2 © 2001-2016 期权工具网&期权论坛 Inc.
下载期权论坛手机APP