diff --git a/pages/component/canvas/canvas.uvue b/pages/component/canvas/canvas.uvue index a66f93216637696abf2c849cf8b93b51319e38ec..2bb6074ba4e20390dd50df45ea09b92e264bbed3 100644 --- a/pages/component/canvas/canvas.uvue +++ b/pages/component/canvas/canvas.uvue @@ -101,7 +101,7 @@ item.move() item.draw() }) - this.ctx.draw(false) + this.ctx.draw() } start(){ @@ -132,7 +132,7 @@ animation?.stop() animation = null }) - onPageShow((_ : OnShowOptions)=>{ + onPageShow(()=>{ animation?.start() })