From f831556107a688760686ae2de5f1b3af73d927a5 Mon Sep 17 00:00:00 2001 From: xty Date: Thu, 6 Jun 2024 11:00:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/canvas/canvas.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/canvas/canvas.uvue b/pages/component/canvas/canvas.uvue index a66f9321..2bb6074b 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() }) -- GitLab