[图片] 有解决吗?尝试了加上这些逻辑,所有回调都没执行,见鬼了
wx.config在ios上有时无响应?wx.config在ios上有时注入成功,并触发了ready回调,但是有时候既不触发ready回调也不触发error回调? const config = { debug: true, appId: data.appId, timestamp: data.timestamp, nonceStr: data.nonceStr, signature: data.signature, jsApiList: ['scanQRCode', 'closeWindow', 'chooseImage', 'previewImage', 'startRecord', 'stopRecord', 'onVoiceRecordEnd', 'translateVoice',], } wx.config(config) wx.ready(function () { console.log('成功1') resolve() }) wx.error(function (res) { console.error(res) reject(res) })
2024-12-06