From b444fb0162d0e0445fd3f4d2b68d9307bacc437b Mon Sep 17 00:00:00 2001 From: Luoyiling1010 <345725087@qq.com> Date: Mon, 13 Jun 2022 07:33:15 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90OpenHarmony=E5=BC=80=E6=BA=90=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E8=80=85=E8=AE=A1=E5=88=922022=E3=80=91=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E9=94=99=E8=AF=AF=EF=BC=8Cstar=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E4=B8=BAstart=20Signed-off-by:=20Luoyiling1010=C2=A0<345725087?= =?UTF-8?q?@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/application-dev/ui/ui-js-components-button.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/ui/ui-js-components-button.md b/en/application-dev/ui/ui-js-components-button.md index 2a639b7f24..e5e5e3e7dd 100644 --- a/en/application-dev/ui/ui-js-components-button.md +++ b/en/application-dev/ui/ui-js-components-button.md @@ -141,7 +141,7 @@ export default { isPaused: true, intervalId : null, }, - star(){ + start(){ this.intervalId = setInterval(()=>{ if(this.percent <100){ this.percent += 1; @@ -166,7 +166,7 @@ export default { prompt.showToast({ message: "Started Downloading" }) - this.star(); + this.start(); this.isPaused = false; }else{ prompt.showToast({ -- GitLab