const queryTaskList = async() => { | const queryTaskList = async() => { | ||||
const res = await getMissionList(task.taskParams) | const res = await getMissionList(task.taskParams) | ||||
if (res.code === 0) { | if (res.code === 0) { | ||||
task.taskList.length = 0 | |||||
var taskCount = 0 | var taskCount = 0 | ||||
res.data?.records?.map((item) => { | res.data?.records?.map((item) => { | ||||
if (item.type === 1) { | if (item.type === 1) { |