Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加 checked="todo.completed" #6

Open
wants to merge 1 commit into
base: jsx
Choose a base branch
from
Open

添加 checked="todo.completed" #6

wants to merge 1 commit into from

Conversation

smallos
Copy link

@smallos smallos commented Jun 30, 2016

完成的前面有勾

完成的前面有勾
@@ -58,7 +58,7 @@
}
return <li className={className} key={i}>
<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