mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
..
This commit is contained in:
parent
9d8fc8b920
commit
227b5c331a
@ -137,6 +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;
|
||||
let remainedDate = new Date(val.remained_time);
|
||||
val.remained_time = format("hh:mm", remainedDate);
|
||||
let Time_day = await dateTime_(remainedDate)
|
||||
|
Loading…
Reference in New Issue
Block a user