RenderingContext如何实现canvasContext.draw的功能?
换成canvas-2d后,原来的canvasContext.draw(false, () => { wx.canvasToTempFilePath({ }) }) 报错,VM1794 WAService.js:2 TypeError: canvasContext.draw is not a function。,请问这种情况改怎么办? 已知2d情况下,canvas.getContext('2d') 生成的是 RenderingContext