From a4fa83ef3b4e305075e17c0989e9a3e15bf3dd9c Mon Sep 17 00:00:00 2001 From: catlair Date: Tue, 4 May 2021 21:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA=E6=88=90=E5=8A=9F=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/juryTask/judgement.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/juryTask/judgement.ts b/src/juryTask/judgement.ts index 88b481e..e9188da 100644 --- a/src/juryTask/judgement.ts +++ b/src/juryTask/judgement.ts @@ -307,8 +307,12 @@ class Judgement { } async submitHandle() { - await this.page.click('.content-outer .footer button'); - logger.info('成功提交'); + try { + await this.page.click('.content-outer .footer button'); + logger.debug('成功提交'); + } catch (error) { + logger.info(error.message); + } } async closeSummary() {