no message
This commit is contained in:
@@ -4,7 +4,7 @@ const columns = [
|
||||
{
|
||||
title: 'Name',
|
||||
dataIndex: 'name',
|
||||
render: (text) => <a>{text}</a>,
|
||||
render: (text) => <a href='http://www.baidu.com'>{text}</a>,
|
||||
},
|
||||
{
|
||||
title: 'Age',
|
||||
|
||||
@@ -22,7 +22,7 @@ class Footer extends React.Component {
|
||||
return (
|
||||
<div className="todo-footer">
|
||||
<li className="text">
|
||||
<input type="checkbox" onChange={this.handleCheckAll} checked={(doneCount== total && total!=0) ? true : false} />
|
||||
<input type="checkbox" onChange={this.handleCheckAll} checked={(doneCount=== total && total!==0) ? true : false} />
|
||||
<span>已完成({doneCount})</span> / 全部({total})
|
||||
</li>
|
||||
<Button type="primary"
|
||||
|
||||
@@ -23,7 +23,7 @@ class Footer extends React.Component {
|
||||
return <Item key={i.id} {...i} deleteTodo={deleteTodo} updateTodo={updateTodo}/>
|
||||
})
|
||||
}
|
||||
{todos.length==0 && <Empty image={myImage} imageStyle={{height: 160}} description="暂无任务,请添加" />}
|
||||
{todos.length===0 && <Empty image={myImage} imageStyle={{height: 160}} description="暂无任务,请添加" />}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user