急!!!wx.openCard打开错误,code和cardId都传了

发布于 7 年前作者 qiangxia11139 次浏览最后编辑 7 年前来自 ask

code已经解密过了,就是成功不了

wx.openCard({

cardList: [

{

cardId: ‘p4bo3t65xc3zSI3nESCmlBChbi0I’,

code: res.data.code

}

],

success: function (res) {

console.log(res)

},

fail: function (res) {

console.log(res)

}

})

3 回复
heguiying
heguiying1 楼6 年前

请问报什么错?

在工具上不成功还是在真机上不成功?

tding
tding2 楼6 年前

你好,这是一个已知问题,我们会尽快进行修复。

请试下真机能不能正确使用。

fanglong
fanglong3 楼5 年前

在开发者工具上不成功

{errMsg: “openCard:fail TypeError: Cannot read property ‘baseresponse’ of undefined”}

报的这个