feat: shanbay guid
This commit is contained in:
parent
bc586f5c69
commit
bb94a1e64c
|
|
@ -30,6 +30,7 @@ module.exports = async (ctx) => {
|
|||
data &&
|
||||
data.map((item) => {
|
||||
let action = '';
|
||||
item.tasks = item.tasks.sort((a, b) => b.used_time - a.used_time);
|
||||
item.tasks.forEach((task, index) => {
|
||||
const minute = Math.floor(task.used_time / 60);
|
||||
const second = task.used_time - minute * 60;
|
||||
|
|
|
|||
Loading…
Reference in New Issue