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
1b9b3d7973
commit
5e974ce463
@ -111,6 +111,8 @@ export async function Note(e, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (let val of data.expeditions) {
|
for (let val of data.expeditions) {
|
||||||
|
// console.log(val.remained_time)
|
||||||
|
if (val.remained_time > 0) {
|
||||||
val.remained_time = new Date().getTime() + val.remained_time * 1000;
|
val.remained_time = new Date().getTime() + val.remained_time * 1000;
|
||||||
let remainedDate = new Date(val.remained_time);
|
let remainedDate = new Date(val.remained_time);
|
||||||
val.remained_time = format("hh:mm", remainedDate);
|
val.remained_time = format("hh:mm", remainedDate);
|
||||||
@ -120,6 +122,7 @@ export async function Note(e, {
|
|||||||
val.remained_time = ` ${val.remained_time}`;
|
val.remained_time = ` ${val.remained_time}`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
let remained_time = "";
|
let remained_time = "";
|
||||||
if (data.expeditions && data.expeditions.length >= 1) {
|
if (data.expeditions && data.expeditions.length >= 1) {
|
||||||
remained_time = lodash.map(data.expeditions, "remained_time");
|
remained_time = lodash.map(data.expeditions, "remained_time");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"sys": {
|
"sys": {
|
||||||
"help": true,
|
"help": false,
|
||||||
"Note": false
|
"Note": false
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user