From c2f4a3e61c662c52c9f7f7152e5c6de00d6d3551 Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Tue, 28 Jun 2022 23:48:53 +0800 Subject: [PATCH] .. --- apps/Note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Note.js b/apps/Note.js index 8ff7dcc..8252312 100644 --- a/apps/Note.js +++ b/apps/Note.js @@ -137,7 +137,7 @@ export async function Note(e, { time_cha = 12; } val.percentage = ((val.dq_time / 60 / 60 * 1 / time_cha) * 100 / 10).toFixed(0) * 10; - if(val.dq_time==0) val.percentage=0; + if(val.dq_time==0) val.percentage=100; let remainedDate = new Date(val.remained_time); val.remained_time = format("hh:mm", remainedDate); let Time_day = await dateTime_(remainedDate)