📅  最后修改于: 2022-03-11 15:00:20.104000             🧑  作者: Mango
//add [] to the struct you want to view
function getTasks() public view returns(Task[] memory){
return tasks;
}