From 88c486b5d5336293bd77a1256890512f107f0c72 Mon Sep 17 00:00:00 2001 From: Luoyiling1010 <345725087@qq.com> Date: Mon, 13 Jun 2022 07:34:25 +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 --- zh-cn/application-dev/ui/ui-js-components-button.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/ui/ui-js-components-button.md b/zh-cn/application-dev/ui/ui-js-components-button.md index 52ae1c820a..b6ac4f4679 100644 --- a/zh-cn/application-dev/ui/ui-js-components-button.md +++ b/zh-cn/application-dev/ui/ui-js-components-button.md @@ -134,7 +134,7 @@ export default { isPaused: true, intervalId : null, }, - star(){ + start(){ this.intervalId = setInterval(()=>{ if(this.percent <100){ this.percent += 1; @@ -159,7 +159,7 @@ export default { prompt.showToast({ message: "Started Downloading" }) - this.star(); + this.start(); this.isPaused = false; }else{ prompt.showToast({ -- GitLab