[导读]:今天在公众开发的过程中出现了errmsg:config ok错误,网上搜了一圈,全是一些似是而非的回答 这个config ok表明配置是正确的 wx.config({debug: true,appId: ,timestamp: ,nonceStr: ,signature: ,j...
今天在公众开发的过程中出现了errmsg:config ok错误,网上搜了一圈,全是一些似是而非的回答
这个config ok表明配置是正确的
debug如果设置为true,即开启了调试模式,只要将debug设置为false即可
这个config ok表明配置是正确的
wx.config({
debug: true,
appId: '',
timestamp: '',
nonceStr: '',
signature: '',
jsApiList: [ //把需要的接口加入至列表
"onMenuShareTimeline", //分享给好友
"onMenuShareAppMessage", //分享到朋友圈
"onMenuShareQQ", //分享到QQ
"onMenuShareWeibo", //分享到微博
"checkJsApi","scanQRCode", //如果需要调扫码 侧加入至列表
]
});
|
debug如果设置为true,即开启了调试模式,只要将debug设置为false即可
本文来自投稿,不代表微盟圈立场,如若转载,请注明出处:https://www.vm7.com/a/jc/115369.html
