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

Fix equal operator #24

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

Conversation

YikSanChan
Copy link

No description provided.

@YikSanChan YikSanChan force-pushed the fix-equal-operator branch from c4093ca to 2c80137 Compare April 4, 2020 06:40
@@ -21,7 +21,7 @@ export default () => {
const checkedItems = e.detail.value;
const items = todo.items.map(item => ({
...item,
completed: !!checkedItems.find(id => item.id == id),
Copy link
Member

Choose a reason for hiding this comment

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

这里的 id 好像是个 string.

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