diff --git a/lib/wx-canvas.js b/lib/wx-canvas.js index 4711390..bb54ee4 100644 --- a/lib/wx-canvas.js +++ b/lib/wx-canvas.js @@ -540,9 +540,9 @@ export default class WxCanvas { for (const step of realstepList) { this.implementMinaStep(step); } - this.ctx.draw(reserve, func); realstepList.length = 0; } + this.ctx.draw(reserve, func); } else if (this.type === "2d") { if (!reserve) { this.ctx.clearRect(0, 0, this.canvasNode.width, this.canvasNode.height);