the custom component in WeChat Mini Programs, but the canvas component has no effect. Has anyone ever encountered this problem?
ready(){
const ctx = wx.createCanvasContext("back-canvas")
ctx.setFillStyle("red")
ctx.fillRect(10, 10, 150, 75)
ctx.draw();
},
<canvas class="ca" canvas-id="back-canvas" style="width:200px;height:200px;"></canvas>