no message
This commit is contained in:
@@ -4,7 +4,7 @@ const columns = [
|
|||||||
{
|
{
|
||||||
title: 'Name',
|
title: 'Name',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
render: (text) => <a>{text}</a>,
|
render: (text) => <a href='http://www.baidu.com'>{text}</a>,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Age',
|
title: 'Age',
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class Footer extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div className="todo-footer">
|
<div className="todo-footer">
|
||||||
<li className="text">
|
<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})
|
<span>已完成({doneCount})</span> / 全部({total})
|
||||||
</li>
|
</li>
|
||||||
<Button type="primary"
|
<Button type="primary"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ class Footer extends React.Component {
|
|||||||
return <Item key={i.id} {...i} deleteTodo={deleteTodo} updateTodo={updateTodo}/>
|
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>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user