// 对象
const newTask = {}

// 添加到数组
setTask([...tasks, newTask])
最后编辑:2023年12月12日 ©著作权归作者所有

发表评论