diff --git a/pages/component/canvas/canvas.uvue b/pages/component/canvas/canvas.uvue index f791c078d0b60ba6292c449b7d4e7296642cc217..084621b574a7e990a9eb95cafe27f56f63b7fd6b 100644 --- a/pages/component/canvas/canvas.uvue +++ b/pages/component/canvas/canvas.uvue @@ -161,9 +161,6 @@ context.stroke(path2D); }, startAnimationFrame() { - if (this.taskId > 0) { - this.stopAnimationFrame() - } this.taskId = this.canvasContext!.requestAnimationFrame((timestamp : number) => { this.testFrameCount++ this.updateFPS(timestamp)