baigl #317

Merged
baigl merged 6 commits from baigl into main 2024-10-15 15:09:27 +08:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit ed035f94ed - Show all commits

View File

@ -391,6 +391,10 @@ const getTaskList = async () => {
let model = []; let model = [];
let mission = []; let mission = [];
if(res.rows&&res.rows.length > 0){
//
res.rows.sort((a, b) => new Date(b.timestamp) - new Date(a.timestamp));
}
for (let item of res.rows){ for (let item of res.rows){
item.taskconfig = []; item.taskconfig = [];
@ -473,6 +477,7 @@ const getTaskList = async () => {
} }
list.push(item); list.push(item);
} }
//
taskList.value = list; taskList.value = list;
loading.value = false; loading.value = false;
}) })