wx.canvasGetImageData({
canvasId: 'webCanbvas',
x: 50,
y: 50,
width:100,
height:100,
success(res) {
console.log("获取res", res)
const ctx = wx.createCanvasContext('opera_area');
wx.canvasPutImageData({
canvasId: 'opera_area',
x: 0,
y: 0,
width: 100,
height:100,
data: res.data,
success(ress) {
console.log("获取ress", ress)
},
fail(erro) { console.log("erro", erro)},
})
}
})
以上代码,在调试基础库2.12.2是正常的;在2.13.0上无法绘制(微信开发工具)
ios微信:7.0.15
请问解决了吗