Skip to content

Conversation

@smallos
Copy link

@smallos smallos commented Jun 30, 2016

完成的前面有勾

完成的前面有勾
<div className="view">
<input className="toggle" type="checkbox" checked=""/>
<input className="toggle" type="checkbox" checked="todo.completed"/>
<label> {todo.title} </label>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里写错了哦,值应该用花括号 checked={todo.completed}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants