Skip to content

Conversation

@t0t07
Copy link

@t0t07 t0t07 commented Apr 4, 2020

No description provided.

@t0t07 t0t07 force-pushed the fix-equal-operator branch from c4093ca to 2c80137 Compare April 4, 2020 06:40
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