一调用addcard开发工具就全部变白
复制官方的一段addcard代码,开发工具就变成这样了。
wx.addCard({
cardList: [
{
cardId: '',
cardExt: '{"code": "", "openid": "", "timestamp": "", "signature":""}'
}, {
cardId: '',
cardExt: '{"code": "", "openid": "", "timestamp": "", "signature":""}'
}
],
success: function(res) { console.log(res.cardList) // 卡券添加结果
}
})