no message
This commit is contained in:
@@ -8,14 +8,12 @@ class Footer extends React.Component {
|
||||
this.setState({mouse:flag})
|
||||
}
|
||||
}
|
||||
|
||||
//勾选、取消勾选某一个todo的回调
|
||||
handleCheck = (id)=>{
|
||||
return (event)=>{
|
||||
this.props.updateTodo(id,event.target.checked)
|
||||
}
|
||||
}
|
||||
|
||||
//删除一个todo的回调
|
||||
handleDelete = (id)=>{
|
||||
if(window.confirm('确定删除吗?')){
|
||||
|
||||
Reference in New Issue
Block a user