From 6f3bdbf17623684f6fbfd85cb1983183d88e5dd1 Mon Sep 17 00:00:00 2001 From: surenjun Date: Wed, 18 Jun 2025 15:10:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=80=80=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Judge.ets | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/entry/src/main/ets/pages/Judge.ets b/entry/src/main/ets/pages/Judge.ets index a75cd40f..19cb4f76 100644 --- a/entry/src/main/ets/pages/Judge.ets +++ b/entry/src/main/ets/pages/Judge.ets @@ -996,21 +996,14 @@ struct Index { AmplifyPopup({ amplifyImgIndex: this.amplifiedImgIndex, confirmAmplify: async (amplify) => { - if(this.setManualProjectFn(this.amplifiedImgIndex)){ - clearTimeout(this.popTimer) - this.popTimer = null - this.popTimer = setTimeout(async () => { - const judge = this.judge - await judge.setJudgeItem(amplify.projectCode, 1); - this.isAmplifyPopShow = false - this.popTimer = null; - }, 500) - }else{ - Prompt.showToast({ - message: `有项目未结束,不允许人操作!`, - duration: 8000 - }); - } + clearTimeout(this.popTimer) + this.popTimer = null + this.popTimer = setTimeout(async () => { + const judge = this.judge + await judge.setJudgeItem(amplify.projectCode, 1); + this.isAmplifyPopShow = false + this.popTimer = null; + }, 500) }, closeAmplifyPop: () => { this.isAmplifyPopShow = false