未验证 提交 b4cb3f43 编写于 作者: O openharmony_ci 提交者: Gitee

!5312 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】代码错误,star应该为start

Merge pull request !5312 from Luoyiling1010/N/A
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
isPaused: true, isPaused: true,
intervalId : null, intervalId : null,
}, },
star(){ start(){
this.intervalId = setInterval(()=>{ this.intervalId = setInterval(()=>{
if(this.percent <100){ if(this.percent <100){
this.percent += 1; this.percent += 1;
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
prompt.showToast({ prompt.showToast({
message: "Started Downloading" message: "Started Downloading"
}) })
this.star(); this.start();
this.isPaused = false; this.isPaused = false;
}else{ }else{
prompt.showToast({ prompt.showToast({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册